Skip to content

Commit 5b49df3

Browse files
Add GitHub Actions workflow for auto labeling
1 parent cf8a2ed commit 5b49df3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/labeler.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 🏷️ Auto Label Issues & PRs
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened, synchronize]
6+
issues:
7+
types: [opened, edited]
8+
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
13+
14+
jobs:
15+
label:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: 🏷️ Apply labels automatically
19+
uses: actions/labeler@v5
20+
with:
21+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)