Skip to content

Commit

Permalink
tweak workflow perms to allow running certain checks in fork PR upstr…
Browse files Browse the repository at this point in the history
…eam target HEAD (#295)
  • Loading branch information
qrkourier authored Jan 29, 2025
1 parent 552fe38 commit 3d61fcf
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Release Notes Labeler

on:
pull_request:
pull_request_target:
types: [opened, synchronize, reopened]

# Set default permissions as read only
permissions: read-all

jobs:
release-notes-labeler:
permissions:
Expand All @@ -21,8 +24,8 @@ jobs:
uses: maxisam/[email protected]
with:
authToken: ${{ secrets.GITHUB_TOKEN }}
basePaths: 'charts'
prefixes: 'notes|skip'
basePaths: charts
prefixes: notes|skip
includedGlob: "" # no filter
debugShowPaths: true
layers: 1
Expand Down

0 comments on commit 3d61fcf

Please sign in to comment.