@@ -59,24 +59,19 @@ jobs:
5959 run : echo "SF_CHANGE_CASE_SCHEDULE_BUILD=offcore.tooling.${{ steps.get-package-version.outputs.PACKAGE_VERSION }}" > $GITHUB_OUTPUT
6060 - run : echo "SF_CHANGE_CASE_SCHEDULE_BUILD is ${{ steps.get-scheduled-build.outputs.SF_CHANGE_CASE_SCHEDULE_BUILD }}"
6161
62- ctc-open :
63- needs : [ validate-release-environment ]
64- uses : salesforcecli/github-workflows/.github/workflows/ctcOpen.yml@main
65- secrets : inherit
66-
6762 publish :
68- needs : [ 'ctc-open', ' validate-release-environment' ]
63+ needs : [ 'validate-release-environment' ]
6964 runs-on : ubuntu-latest
7065 env :
7166 VSCE_PERSONAL_ACCESS_TOKEN : ${{ secrets.VSCE_PERSONAL_ACCESS_TOKEN }}
7267 PUBLISH_VERSION : ${{ needs.validate-release-environment.outputs.RELEASE_VERSION }}
73- GITHUB_TOKEN : ${{ secrets.IDEE_GH_TOKEN }}
68+ GITHUB_TOKEN : ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
7469 steps :
7570 - name : Checkout the release tag
7671 uses : actions/checkout@v3
7772 with :
7873 ref : ${{ github.event.release.tag_name || inputs.tag }}
79- token : ${{ secrets.IDEE_GH_TOKEN }}
74+ token : ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }}
8075 # Set up node and install dependencies.
8176 - uses : actions/setup-node@v3
8277 with :
9388 run : find ./extensions -type f -name "*.vsix" -exec npx vsce publish --pat ${{ env.VSCE_PERSONAL_ACCESS_TOKEN }} --packagePath {} \;
9489 - run : echo "SUCCESSFULLY PUBLISHED"
9590
96- ctc-close-success :
97- needs : [ ctc-open, publish ]
98- if : needs.ctc-open.result == 'success' && needs.publish.result == 'success' && needs.ctc-open.outputs.changeCaseId
99- uses : salesforcecli/github-workflows/.github/workflows/ctcClose.yml@main
100- secrets : inherit
101- with :
102- changeCaseId : ${{ needs.ctc-open.outputs.changeCaseId }}
103-
104- ctc-close-fail :
105- needs : [ ctc-open, publish ]
106- if : always() && inputs.ctc && needs.ctc-open.outputs.changeCaseId && (needs.ctc-open.result != 'success' || needs.publish.result != 'success')
107- uses : salesforcecli/github-workflows/.github/workflows/ctcClose.yml@main
108- secrets : inherit
109- with :
110- changeCaseId : ${{ needs.ctc-open.outputs.changeCaseId }}
111- status : Not Implemented
0 commit comments