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
  • Loading branch information
potiuk committed Oct 2, 2024
1 parent fada3d5 commit e3fdb7e
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 e3fdb7e

Please sign in to comment.