Skip to content

Commit

Permalink
Merge pull request #19918 from wordpress-mobile/iangmaia/gha-labels-o…
Browse files Browse the repository at this point in the history
…n-issues-check

GHA Workflow for validating issues
  • Loading branch information
iangmaia authored Feb 12, 2024
2 parents 819fa49 + eb9a63e commit ca3d8d8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/validate-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 📝 Validate Issues

on:
issues:
types: [opened, labeled, unlabeled]

jobs:
check-labels-on-issues:
uses: Automattic/dangermattic/.github/workflows/[email protected]
with:
label-format-list: '[
"^\[.+\]",
"^[[:alnum:]]"
]'
label-error-message: '🚫 Please add a type label (e.g. **[Type] Enhancement**) and a feature label (e.g. **Stats**) to this issue.'
label-success-message: 'Thanks for reporting! 👍'
secrets:
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }}

0 comments on commit ca3d8d8

Please sign in to comment.