File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 55
66 pull_request :
77 types : [opened, synchronize, reopened]
8- branches :
9- - dev
10- - parent-image-updates
118
129permissions :
1310 id-token : write
@@ -17,4 +14,5 @@ permissions:
1714jobs :
1815 call-pi-build :
1916 uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_build.yml@dev
17+ if : github.event.pull_request.head.ref == 'parent-image-updates'
2018 secrets : inherit
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ permissions:
1717jobs :
1818 call-pi-merge-parent-image :
1919 uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_merge_submodule.yml@dev
20- if : ${{ github.event.pull_request.merged }}
20+ if : ${{ github.event.pull_request.merged && github.event.pull_request.head.ref == 'parent-image-updates' }}
2121 secrets : inherit
2222
2323 call-pi-cleanup-submodule :
2424 uses : code-kern-ai/cicd-deployment-scripts/.github/workflows/pi_cleanup_submodule.yml@dev
25- if : ${{ !github.event.pull_request.merged }}
25+ if : ${{ !github.event.pull_request.merged && github.event.pull_request.head.ref == 'parent-image-updates' }}
2626 secrets : inherit
You can’t perform that action at this time.
0 commit comments