Skip to content

Commit d85be49

Browse files
committed
Add automatic labels to PRs
1 parent 3ca673c commit d85be49

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/pr-prefix-labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"ci": "CI"
2+
"transifex": "TRANSLATION"

.github/workflows/label-prs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
pull_request_target:
4+
types: [opened, synchronize, reopened, edited]
5+
6+
jobs:
7+
pr-labeler:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Label the PR
11+
uses: gerrymanoim/pr-prefix-labeler@v3
12+
env:
13+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)