Skip to content

Commit 4f2cdc3

Browse files
authored
GHA Workflow for validating issues (#22372)
2 parents a8a02de + 1152d50 commit 4f2cdc3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 📝 Validate Issues
2+
3+
on:
4+
issues:
5+
types: [opened, labeled, unlabeled]
6+
7+
jobs:
8+
check-labels-on-issues:
9+
uses: Automattic/dangermattic/.github/workflows/[email protected]
10+
with:
11+
label-format-list: '[
12+
"^\[.+\]",
13+
"^[[:alnum:]]"
14+
]'
15+
label-error-message: '🚫 Please add a type label (e.g. **[Type] Enhancement**) and a feature label (e.g. **Stats**) to this issue.'
16+
label-success-message: 'Thanks for reporting! 👍'
17+
secrets:
18+
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)