Commit ec90a2e018

ec90a2e018a6ec43640e1ed81a9deeb2b3bf6dc7

parent: cbca3a5ded

Unregistered key

Alicia Sykes <alicia@omg.lol> · 2022-07-31 16:07 UTC
committer: <noreply@github.com>

Updates issue validator

Layout: unified · split

.github/workflows/ticket-check.yml +12 −6
@@ -1,13 +1,19 @@
1# Validates that newly opened issues contain enough info
2name: 🎫 Ticket Compliance
1# Checks newly opened issues contain enough info, and follow the required format
2name: 🎫 Issue Validator
33on:
44 issues:
55 types: [opened]
66jobs:
7 issue-check:
7 check-title:
88 runs-on: ubuntu-latest
9 permissions: write-all
910 steps:
10 - uses: wow-actions/needs-more-info@v1.0.5
11 - name: Default
12 if: "endsWith(github.event.issue.title, '<title>')"
13 uses: peter-evans/create-or-update-comment@v2
1114 with:
12 GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
13 CONFIG_FILE: .github/workflows/config/ticket-check-config.yml
15 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
16 issue-number: ${{ github.event.number }}
17 body: |
18 Hello ${{ github.event.actor }} :wave:
19 Please ensure that your ticket has an appropriate title