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 1# Checks newly opened issues contain enough info, and follow the required format
2name: 🎫 Ticket Compliance 2name: 🎫 Issue Validator
3on: 3on:
4 issues: 4 issues:
5 types: [opened] 5 types: [opened]
6jobs: 6jobs:
7 issue-check: 7 check-title:
8 runs-on: ubuntu-latest 8 runs-on: ubuntu-latest
9 permissions: write-all
9 steps: 10 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
11 with: 14 with:
12 GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} 15 token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
13 CONFIG_FILE: .github/workflows/config/ticket-check-config.yml 16 issue-number: ${{ github.event.number }}
17 body: |
18 Hello ${{ github.event.actor }} :wave:
19 Please ensure that your ticket has an appropriate title