Skip to content

Commit

Permalink
ci: add spec type in conventional-pr-title (cometbft#2191)
Browse files Browse the repository at this point in the history
  • Loading branch information
melekes authored Jan 30, 2024
1 parent 5a76635 commit 0ccf9b6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/conventional-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ jobs:
id: lint_pr_title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
types: |
feat
fix
build
chore
ci
docs
refactor
perf
test
revert
spec
- uses: marocchino/sticky-pull-request-comment@v2
# When the previous steps fails, the workflow would stop. By adding this
Expand All @@ -40,7 +52,7 @@ jobs:
General format: `type(scope): msg`
Breaking change: `type(scope)!: msg`
Multi-scope change: `type: msg`
Types: `feat`, `fix`, `build`, `chore`, `ci`, `docs`, `refactor`, `perf`, `test`, `revert`.
Types: `feat`, `fix`, `build`, `chore`, `ci`, `docs`, `refactor`, `perf`, `test`, `revert`, `spec`.
Example: `fix(cmd/cometbft/commands/debug): execute p.Signal only when p is not nil`
# Delete a previous comment when the issue has been resolved
Expand Down

0 comments on commit 0ccf9b6

Please sign in to comment.