Skip to content

Commit

Permalink
chore: Add scope-label workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hankei6km committed Dec 16, 2023
1 parent 408add7 commit e14e3e9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'scope: prepare-commit-msg-context':
- all:
- changed-files:
- any-glob-to-any-file:
- 'src/prepare-commit-msg-context/**'
- 'test/prepare-commit-msg-context/**'
15 changes: 15 additions & 0 deletions .github/workflows/scope-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'relabel by changed files'
on:
- pull_request_target

jobs:
relabel:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: label-scope-by-changed-files
uses: actions/labeler@v5
with:
configuration-path: .github/labeler.yml

0 comments on commit e14e3e9

Please sign in to comment.