Skip to content

Commit

Permalink
update to labeler@v5. testing perms
Browse files Browse the repository at this point in the history
  • Loading branch information
jason committed Mar 7, 2024
1 parent bff6583 commit 8bb710a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
27 changes: 19 additions & 8 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,30 @@
root:
- changed-files:
- any-glob-to-any-file: '*'

Configuration File:
- configurationFiles/**
- changed-files:
- any-glob-to-any-file: configurationFiles/**

Executable:
- src/**
- changed-files:
- any-glob-to-any-file: src/**

Kusto Query Language:
- kusto/**
- changed-files:
- any-glob-to-any-file: kusto/**

WorkFlow:
- .github/**
- changed-files:
- any-glob-to-any-file: .github/**

documentation:
- docs/*.*
- README.md
- CHANGELOG.md
- changed-files:
- any-glob-to-any-file:
- docs/*.*
- README.md
- CHANGELOG.md

scripts:
- scripts/*.*
- changed-files:
- any-glob-to-any-file: scripts/*.*
5 changes: 4 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ on: [pull_request_target]

jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: windows-latest
steps:
- uses: actions/labeler@v2
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 8bb710a

Please sign in to comment.