Commit 82989fdb16
Unregistered key
Layout: unified · split
.github/workflows/lint-pr-title.yml +22 −1
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | # Checks that PR title conform to contributing standards (or at least !== Update README.md) |
| 2 | name: ⛳ Lint PR Title | |
| 2 | name: ⛳ Lint PR | |
| 3 | 3 | on: |
| 4 | 4 | pull_request: |
| 5 | 5 | types: [opened, edited, synchronize, reopened] |
| @@ -29,3 +29,24 @@ jobs: | ||
| 29 | 29 | min_length: 18 # Min length of the title |
| 30 | 30 | max_length: 60 # Max length of the title |
| 31 | 31 | github_token: ${{ secrets.BOT_GITHUB_TOKEN || github.token }} |
| 32 | ||
| 33 | ||
| 34 | - name: Check body includes tickboxes | |
| 35 | uses: mtfoley/pr-compliance-action@main | |
| 36 | with: | |
| 37 | repo-token: ${{ secrets.BOT_GITHUB_TOKEN || github.token }} | |
| 38 | ignore-authors: liss-bot | |
| 39 | ignore-team-members: false | |
| 40 | base-comment: '' | |
| 41 | body-regex: "(\\[x]|\\[X]).(?!.*(\\[]|\\[ ])).*" | |
| 42 | body-fail: true | |
| 43 | body-auto-close: false | |
| 44 | body-comment: | | |
| 45 | You must complete the quality and transparency checklist. | |
| 46 | protected-branch: '' | |
| 47 | protected-branch-auto-close: false | |
| 48 | protected-branch-comment: '' | |
| 49 | title-check-enable: false | |
| 50 | title-comment: '' | |
| 51 | watch-files: '' | |
| 52 | watch-files-comment: '' | |