mirror of
https://github.com/Lissy93/awesome-privacy.git
synced 2026-03-11 08:55:33 +00:00
Adds check for checklist
This commit is contained in:
parent
4d457b099c
commit
82989fdb16
1 changed files with 22 additions and 1 deletions
23
.github/workflows/lint-pr-title.yml
vendored
23
.github/workflows/lint-pr-title.yml
vendored
|
|
@ -1,5 +1,5 @@
|
|||
# Checks that PR title conform to contributing standards (or at least !== Update README.md)
|
||||
name: ⛳ Lint PR Title
|
||||
name: ⛳ Lint PR
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited, synchronize, reopened]
|
||||
|
|
@ -29,3 +29,24 @@ jobs:
|
|||
min_length: 18 # Min length of the title
|
||||
max_length: 60 # Max length of the title
|
||||
github_token: ${{ secrets.BOT_GITHUB_TOKEN || github.token }}
|
||||
|
||||
|
||||
- name: Check body includes tickboxes
|
||||
uses: mtfoley/pr-compliance-action@main
|
||||
with:
|
||||
repo-token: ${{ secrets.BOT_GITHUB_TOKEN || github.token }}
|
||||
ignore-authors: liss-bot
|
||||
ignore-team-members: false
|
||||
base-comment: ''
|
||||
body-regex: "(\\[x]|\\[X]).(?!.*(\\[]|\\[ ])).*"
|
||||
body-fail: true
|
||||
body-auto-close: false
|
||||
body-comment: |
|
||||
You must complete the quality and transparency checklist.
|
||||
protected-branch: ''
|
||||
protected-branch-auto-close: false
|
||||
protected-branch-comment: ''
|
||||
title-check-enable: false
|
||||
title-comment: ''
|
||||
watch-files: ''
|
||||
watch-files-comment: ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue