File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ permissions:
2525
2626jobs :
2727 sonatype :
28- if : ${{ github.event_name == 'push' || (github.event.workflow_run.conclusion == 'success' && github.ref_name != 'main') }}
28+ if : ${{ github.event_name == 'push' || (github.event.workflow_run.conclusion == 'success' && github.ref_name != 'main' && github.event.workflow_run.head_repository.full_name == github.repository ) }}
2929 name : Sonatype Scan
3030 runs-on : ubuntu-latest
3131 steps :
5353
5454 # Run acceptance tests in a matrix with Terraform CLI versions
5555 test-parallel :
56- if : ${{ github.event_name == 'push' || (github.event.workflow_run.conclusion == 'success' && github.ref_name != 'main') }}
56+ if : ${{ github.event_name == 'push' || (github.event.workflow_run.conclusion == 'success' && github.ref_name != 'main' && github.event.workflow_run.head_repository.full_name == github.repository ) }}
5757 name : Acc. Tests (NXRM ${{ matrix.nxrm }} + TF ${{ matrix.terraform }})
5858 needs :
5959 - sonatype
You can’t perform that action at this time.
0 commit comments