Skip to content

Commit

Permalink
Config actions/labeler to label config changes
Browse files Browse the repository at this point in the history
This will make it clearer when a PR touches the config, or just does
something unrelated (e.g. Node dependendency bumps).
  • Loading branch information
sambostock committed Jan 26, 2023
1 parent 44d1ba8 commit 41a213a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"config change": rubocop.yml
15 changes: 15 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit 41a213a

Please sign in to comment.