generated from chrisgrieser/alfred-workflow-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: tweak pr title check and stale bot
- Loading branch information
1 parent
71a2c85
commit ddcd4f2
Showing
3 changed files
with
43 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: PR title | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
- reopened | ||
- ready_for_review | ||
|
||
permissions: | ||
pull-requests: read | ||
|
||
jobs: | ||
semantic-pull-request: | ||
name: Check PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
requireScope: false | ||
subjectPattern: ^(?![A-Z]).+$ # disallow title starting with capital | ||
types: | # add `improv` to the list of allowed types | ||
improv | ||
fix | ||
feat | ||
refactor | ||
build | ||
ci | ||
style | ||
test | ||
chore | ||
perf | ||
docs | ||
break | ||
revert |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters