Skip to content

Commit

Permalink
Limit branches for pull request target workflow (apache#42635)
Browse files Browse the repository at this point in the history
(cherry picked from commit e3fdb7e)
  • Loading branch information
potiuk committed Oct 2, 2024
1 parent f124353 commit cae9df2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ run-name: >
Build images for ${{ github.event.pull_request.title }} ${{ github.event.pull_request._links.html.href }}
on: # yamllint disable-line rule:truthy
pull_request_target:
branches:
- main
permissions:
# all other permissions are set to none
contents: read
Expand Down

0 comments on commit cae9df2

Please sign in to comment.