File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 2121 matrix :
2222 tf : [tofu, terraform]
2323 steps :
24- # Only checkout for pull_request_target events (not for push to main)
25- # pull_request_target runs in the context of the base branch for security,
26- # so we must explicitly checkout the PR's head commit to test the actual changes
27- - name : Checkout PR Head
28- if : github.event_name != 'push'
29- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
30- with :
31- ref : ${{ github.event.pull_request.head.sha }}
32- fetch-depth : 0
33- - uses : masterpointio/github-action-tf-test@c3b619f3bca9e4f482b9e0fb3166ab3f02d9d54c # v1.0.0
24+ - uses : masterpointio/github-action-tf-test@502514cd8c7510361658e3f64f55413487408178 # fix/pull-request-target-sha
3425 with :
3526 tf_type : ${{ matrix.tf }}
3627 aws_role_arn : ${{ vars.TF_TEST_AWS_ROLE_ARN }}
You can’t perform that action at this time.
0 commit comments