Skip to content

Commit 41a213a

Browse files
committed
Config actions/labeler to label config changes
This will make it clearer when a PR touches the config, or just does something unrelated (e.g. Node dependendency bumps).
1 parent 44d1ba8 commit 41a213a

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"config change": rubocop.yml

.github/workflows/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
triage:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@v4
13+
with:
14+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
15+
sync-labels: true

0 commit comments

Comments
 (0)