File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383
8484 ctc-open :
8585 needs : [check-publish]
86- if : inputs.ctc && needs.check-publish.outputs.published == 'false'
86+ if : inputs.ctc && needs.check-publish.outputs.published == 'false' && inputs.tag == 'latest'
8787 uses : salesforcecli/github-workflows/.github/workflows/ctcOpen.yml@main
8888 secrets : inherit
8989
@@ -118,15 +118,15 @@ jobs:
118118
119119 ctcCloseSuccess :
120120 needs : [ctc-open, npm-publish]
121- if : needs.ctc-open.result == 'success' && needs.npm-publish.result == 'success' && needs.ctc-open.outputs.changeCaseId
121+ if : needs.ctc-open.result == 'success' && needs.npm-publish.result == 'success' && needs.ctc-open.outputs.changeCaseId && inputs.tag == 'latest'
122122 uses : salesforcecli/github-workflows/.github/workflows/ctcClose.yml@main
123123 secrets : inherit
124124 with :
125125 changeCaseId : ${{needs.ctc-open.outputs.changeCaseId}}
126126
127127 ctcCloseFail :
128128 needs : [ctc-open, npm-publish]
129- if : always() && inputs.ctc && needs.ctc-open.outputs.changeCaseId && (needs.ctc-open.result != 'success' || needs.npm-publish.result != 'success')
129+ if : always() && inputs.ctc && needs.ctc-open.outputs.changeCaseId && (needs.ctc-open.result != 'success' || needs.npm-publish.result != 'success') && inputs.tag == 'latest'
130130 uses : salesforcecli/github-workflows/.github/workflows/ctcClose.yml@main
131131 secrets : inherit
132132 with :
You can’t perform that action at this time.
0 commit comments