Skip to content

Commit 7514d0b

Browse files
csyongheArielG-NV
andauthored
Add github action to ensure PRs are labeled. (shader-slang#4130)
* Add github action to ensure PRs are labeled. * Update. * Fix. * Fix * Fix * more Fix * more fix. * try. * fix * another try. --------- Co-authored-by: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com>
1 parent 93e5b71 commit 7514d0b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ensure-pr-label.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Verify PR Labels
2+
on:
3+
pull_request:
4+
types: [opened, labeled, unlabeled, synchronize]
5+
jobs:
6+
label:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
steps:
12+
- uses: mheap/github-action-required-labels@v5
13+
with:
14+
mode: exactly
15+
count: 1
16+
labels: |
17+
pr: non-breaking
18+
pr: breaking change

0 commit comments

Comments
 (0)