Commit 82989fdb16

82989fdb167ef7450ba830951bf070864ecdf73a

parent: 4d457b099c

Unregistered key

Alicia Sykes <alicia@omg.lol> · 2022-07-30 13:54 UTC
committer: <noreply@github.com>

Adds check for checklist

Layout: unified · split

.github/workflows/lint-pr-title.yml +22 −1
@@ -1,5 +1,5 @@
11# Checks that PR title conform to contributing standards (or at least !== Update README.md)
2name: ⛳ Lint PR Title
2name: ⛳ Lint PR
33on:
44 pull_request:
55 types: [opened, edited, synchronize, reopened]
@@ -29,3 +29,24 @@ jobs:
2929 min_length: 18 # Min length of the title
3030 max_length: 60 # Max length of the title
3131 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: ''