1
0
Fork 0
privacy/.github/workflows/ticket-check.yml
2022-07-31 17:19:55 +01:00

18 lines
594 B
YAML

# Checks newly opened issues contain enough info, and follow the required format
name: 🎫 Issue Validator
on:
issues:
types: [opened]
jobs:
check-title:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Default
if: "endsWith(github.event.issue.title, '<title>')"
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Please ensure that your ticket has an appropriate title