Skip to content

Commit

Permalink
build(ci): enable PR name validation to follow conventional commits (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DDtKey authored Apr 6, 2024
1 parent 6564468 commit e8cd99d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,18 @@ jobs:
components: clippy
- uses: Swatinem/[email protected]
- run: cargo clippy --all-targets -- -D warnings

prlint:
name: PR name check
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: CondeNast/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# For PRs we gonna use squash-strategy, so commits names not so matter
ignoreCommits: "true"

0 comments on commit e8cd99d

Please sign in to comment.