Skip to content

Commit

Permalink
Merge pull request #10484 from woocommerce/iangmaia/gha-labels-on-iss…
Browse files Browse the repository at this point in the history
…ues-check

GHA Workflow for validating issues
  • Loading branch information
iangmaia authored Feb 12, 2024
2 parents 3c11a42 + e0f99d2 commit 806edf2
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: '[
"^type: *$",
"^feature: *$"
]'
label-error-message: '🚫 Please add a type label (e.g. **type: enhancement**) and a feature label (e.g. **feature: stats**) to this issue.'
label-success-message: 'Thanks for reporting! 👍'
secrets:
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }}

0 comments on commit 806edf2

Please sign in to comment.