Skip to content

Commit 93217b7

Browse files
authored
debt: add GitHub Actions workflow for automatic PR label management (#816)
1 parent 637f1c5 commit 93217b7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/pr-labels.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'PR labels'
2+
on:
3+
pull_request:
4+
types:
5+
- 'opened'
6+
- 'reopened'
7+
- 'labeled'
8+
- 'unlabeled'
9+
- 'synchronize'
10+
11+
jobs:
12+
add-pr-label:
13+
name: 'Ensure Required Labels'
14+
runs-on: ubuntu-latest
15+
permissions:
16+
issues: write
17+
pull-requests: write
18+
steps:
19+
- name: 'PR impact specified'
20+
uses: mheap/github-action-required-labels@388fd6af37b34cdfe5a23b37060e763217e58b03 # v5.5.0
21+
with:
22+
mode: exactly
23+
count: 1
24+
labels: 'bug, debt, feature-request, no-changelog'

0 commit comments

Comments
 (0)