Skip to content

Commit 5e636fe

Browse files
committed
ci: scope down permissions for change-file-in-pr.yml
1 parent 9f926a0 commit 5e636fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/change-file-in-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, labeled]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
check-files-in-directory:
912
if: ${{ !contains(github.event.pull_request.labels.*.name, 'Release Not Needed') && !contains(github.event.pull_request.labels.*.name, 'Release PR') }}

0 commit comments

Comments
 (0)