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 authored Oct 2, 2024
1 parent 91d1f81 commit f7556c4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ 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
- v2-10-stable
- v2-10-test
permissions:
# all other permissions are set to none
contents: read
Expand Down

0 comments on commit f7556c4

Please sign in to comment.