Skip to content

Commit

Permalink
add pr labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
falgon committed Sep 2, 2024
1 parent d983ffd commit 7063bf7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
style:
- changed_files:
- any-glob-to-any-file: 'contents/scss/**'
CI:
- all:
- changed_files:
- any-glob-to-any-file: '.github/**'
- all-glob-to-all-file: '!.github/ISSUE_TEMPLATE/**'
documentation:
- changed_files:
- any-glob-to-any-file: ['**/*.md', '**/*.markdown']
docker:
- changed_files:
- any-glob-to-any-file: 'docker/**'
pages:
- any-glob-to-any-file: 'contents/pages/**'
13 changes: 13 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: CI-pr-label
on:
pull_request_target:
types: [opened]
jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v5
with:
configuration-path: .github/pr-labeler.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7063bf7

Please sign in to comment.