Skip to content

Commit 0d6a7d5

Browse files
mshanemciowillhoit
andauthored
Apply suggestions from code review
Co-authored-by: Willhoit <iowillhoit@users.noreply.github.com>
1 parent 34ccd26 commit 0d6a7d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/npmPublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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 && inputs.tag == 'latest'
121+
if: needs.ctc-open.result == 'success' && needs.npm-publish.result == 'success' && needs.ctc-open.outputs.changeCaseId
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') && inputs.tag == 'latest'
129+
if: always() && inputs.ctc && needs.ctc-open.outputs.changeCaseId && (needs.ctc-open.result != 'success' || needs.npm-publish.result != 'success')
130130
uses: salesforcecli/github-workflows/.github/workflows/ctcClose.yml@main
131131
secrets: inherit
132132
with:

0 commit comments

Comments
 (0)