Skip to content

Commit

Permalink
Restrict build_runner_image to pull_request instead of pull_request_t…
Browse files Browse the repository at this point in the history
…arget (#28745)

Helps minimize risk of escalation of privileges (we may want to move to a dedicated secret for this in the future)
  • Loading branch information
damccorm authored Oct 2, 2023
1 parent 01197c4 commit 2b20e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_runner_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
push:
branches: ['master']
paths: ['.github/gh-actions-self-hosted-runners/arc/images/**','.github/workflows/build_runner_image.yml']
pull_request_target:
pull_request:
branches: ['master']
paths: ['.github/gh-actions-self-hosted-runners/arc/images/**']
env:
Expand Down

0 comments on commit 2b20e26

Please sign in to comment.