Commit e36b1ac5cb
Unregistered key
Layout: unified · split
.github/workflows/lint-pr-title.yml +10 −9
| @@ -7,15 +7,6 @@ jobs: | ||
| 7 | 7 | check-title: |
| 8 | 8 | runs-on: ubuntu-latest |
| 9 | 9 | 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 }} | |
| 19 | 10 | - name: Check title regex |
| 20 | 11 | uses: morrisoncole/pr-lint-action@v1.6.1 |
| 21 | 12 | with: |
| @@ -28,3 +19,13 @@ jobs: | ||
| 28 | 19 | Please check the [contributing docs](https://github.com/Lissy93/awesome-privacy/blob/main/.github/CONTRIBUTING.md) before submitting a pull request. |
| 29 | 20 | on-succeeded-regex-dismiss-review-comment: "" |
| 30 | 21 | 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 }} | |