Commit e36b1ac5cb

e36b1ac5cb07cc025e171a2d109abb3bbd52cda5

parent: 7c8c162375

Unregistered key

Alicia Sykes <alicia@omg.lol> · 2022-07-29 21:25 UTC
committer: <noreply@github.com>

Updates order of checks

Layout: unified · split

.github/workflows/lint-pr-title.yml +10 −9
@@ -7,15 +7,6 @@ jobs:
77 check-title:
88 runs-on: ubuntu-latest
99 steps:
10 - name: Check title prefix
11 uses: deepakputhraya/action-pr-title@v1.0.2
12 with:
13 allowed_prefixes: 'Adds,Add,Removes,Remove,Updates,Update,Fixes,Fix,Amends,[AUTO]' # title should start with the given prefix
14 disallowed_prefixes: 'Update README.md' # title should not start with the given prefix
15 prefix_case_sensitive: false # title prefix are case insensitive
16 min_length: 18 # Min length of the title
17 max_length: 60 # Max length of the title
18 github_token: ${{ secrets.BOT_GITHUB_TOKEN || github.token }}
1910 - name: Check title regex
2011 uses: morrisoncole/pr-lint-action@v1.6.1
2112 with:
@@ -28,3 +19,13 @@ jobs:
2819 Please check the [contributing docs](https://github.com/Lissy93/awesome-privacy/blob/main/.github/CONTRIBUTING.md) before submitting a pull request.
2920 on-succeeded-regex-dismiss-review-comment: ""
3021 repo-token: "${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}"
22
23 - name: Check title prefix
24 uses: deepakputhraya/action-pr-title@v1.0.2
25 with:
26 allowed_prefixes: 'Adds,Add,Removes,Remove,Updates,Update,Fixes,Fix,Amends,[AUTO]' # title should start with the given prefix
27 disallowed_prefixes: 'Update README.md' # title should not start with the given prefix
28 prefix_case_sensitive: false # title prefix are case insensitive
29 min_length: 18 # Min length of the title
30 max_length: 60 # Max length of the title
31 github_token: ${{ secrets.BOT_GITHUB_TOKEN || github.token }}