Skip to content

Commit

Permalink
fix: labeler.yml update for v5
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Apr 30, 2024
1 parent 397abc0 commit e4a41c8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
12 changes: 4 additions & 8 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
alsoTargeting:integration:
- '*'
- '**/*'
# Workaround as hidden files are ignored by the labeler action:
# https://github.com/actions/labeler/issues/135
- '.*'
- '.*/*'
- '.*/**/*'
# Add 'alsoTargeting:integration' label to any changes within the entire repository
"alsoTargeting:integration":
- changed-files:
- any-glob-to-any-file: '**'
7 changes: 5 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ on:
- pull_request_target

jobs:
triage:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.PAT }}"
repo-token: "${{ secrets.PAT || github.token }}"

0 comments on commit e4a41c8

Please sign in to comment.