Skip to content

Commit bdc31bd

Browse files
authored
Make sure that build-images workflow has permissions to read PR info (apache#24897)
For a public repo this information is public so no extra permission is required, but just in case this workflow ends up against a private repo we need these permissions explicitly.
1 parent b9b97b3 commit bdc31bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ on: # yamllint disable-line rule:truthy
2222
permissions:
2323
# all other permissions are set to none
2424
contents: read
25+
pull-requests: read
2526
env:
2627
MOUNT_SELECTED_LOCAL_SOURCES: "false"
2728
ANSWER: "yes"

0 commit comments

Comments
 (0)