Skip to content

Commit 6ec7a88

Browse files
authored
Add PR labeler workflow configuration
1 parent a84d69a commit 6ec7a88

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/pr-labeler.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: PR Labeler
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
label_pr:
8+
permissions:
9+
# write permission is required for autolabeler
10+
pull-requests: write
11+
contents: read
12+
runs-on: ubuntu-latest
13+
steps:
14+
# Automatically label pull requests based on the release-drafter config
15+
- uses: release-drafter/release-drafter/autolabeler@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7.1.1
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
config-name: github:commit-check/.github:/.github/release-drafter.yml

0 commit comments

Comments
 (0)