Commit f9186f9b18
Unsigned
Layout: unified 路 split
.github/workflows/config/ticket-check-config.yml added +33
| @@ -0,0 +1,33 @@ | ||
| 1 | # The config used to check that issues + PRs have valid-looking title | |
| 2 | ||
| 3 | checkTemplate: true | |
| 4 | excludeUsers: [ liss-bot ] | |
| 5 | miniTitleLength: 16 | |
| 6 | labelToAdd: needs-more-info | |
| 7 | reactions: [ eyes ] | |
| 8 | ||
| 9 | issue: | |
| 10 | badTitles: | |
| 11 | - '[ADDITION] <title>' | |
| 12 | - '[AMENDMENT] <title>' | |
| 13 | - '[FEEDBACK] <title>' | |
| 14 | - '[QUESTION] <title>' | |
| 15 | - '[REMOVAL] <title>' | |
| 16 | badTitleComment: | | |
| 17 | Hello @{{ author }} 馃憢 | |
| 18 | Please update your title to be more descriptive | |
| 19 | badBodyComment: | | |
| 20 | Hello @{{ author }} 馃憢 | |
| 21 | Please be sure to follow the issue template, and provide all requested fields | |
| 22 | ||
| 23 | pullRequest: | |
| 24 | badTitles: | |
| 25 | - Update README.md | |
| 26 | badTitleComment: | | |
| 27 | Hello @{{ author }} 馃憢 | |
| 28 | Please be sure to give your pull request a short but descriptive title. For example _"Adds Firefox under Browsers"_. | |
| 29 | For more info, you should reference the [Contributing Guidelines](https://github.com/Lissy93/awesome-privacy/blob/main/.github/CONTRIBUTING.md) | |
| 30 | badBodyComment: | | |
| 31 | Hello @{{ author }} 馃憢 | |
| 32 | Thank you for your submission! So that it can be dealt with efficiently, please ensure that it contains all the required info. | |
| 33 | Your pull request must conform to the guidelines within the [Contributing Docs](https://github.com/Lissy93/awesome-privacy/blob/main/.github/CONTRIBUTING.md). | |
.github/workflows/ticket-check.yml added +15
| @@ -0,0 +1,15 @@ | ||
| 1 | # Validates that newly opened issues contain enough info | |
| 2 | name: 馃帿 Ticket Compliance | |
| 3 | on: | |
| 4 | issues: | |
| 5 | types: [opened] | |
| 6 | pull_request: | |
| 7 | types: [opened] | |
| 8 | jobs: | |
| 9 | issue-check: | |
| 10 | runs-on: ubuntu-latest | |
| 11 | steps: | |
| 12 | - uses: wow-actions/needs-more-info@v1 | |
| 13 | with: | |
| 14 | GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} | |
| 15 | CONFIG_FILE: .github/workflows/config/ticket-check-config.yml | |