From 502842abf85c8f7111335255b37a5d0875922f15 Mon Sep 17 00:00:00 2001 From: Lior Poterman <191881919+cx-lior-poterman@users.noreply.github.com> Date: Sun, 29 Nov 2026 11:25:40 +0200 Subject: [PATCH] ci: update dependent plugins after each release (AST-192542) Adds an update-dependent-plugins job at the end of release.yml for real releases. It calls the shared plugins-release-workflow dispatch (approval in the release environment), which opens the update PR in the VS Code extension. Replaces the old commented dispatch block. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2bf2d7f..2818670 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -238,13 +238,14 @@ jobs: # jira_product_name: JAVASCRIPT_WRAPPER # secrets: inherit - # dispatch_auto_release: - # name: Update VS Code Extension With new Wrapper Version - # if: inputs.dev == false - # needs: notify - # uses: Checkmarx/plugins-release-workflow/.github/workflows/dispatch-workflow.yml@main - # with: - # cli_version: ${{ needs.release.outputs.CLI_VERSION }} - # is_cli_release: false - # is_js_release: true - # secrets: inherit + # Opens the version-update PR in the VS Code extension (waits for approval in the release environment). + update-dependent-plugins: + name: Update dependent plugins + needs: release + if: inputs.dev == false + permissions: + contents: read # read the published release + id-token: write # for the AWS role (OIDC) in the dispatch workflow + uses: Checkmarx/plugins-release-workflow/.github/workflows/dispatch-workflow.yml@84b423985ac73b92847d17dafc6fb18467598863 # main + with: + tag: ${{ needs.release.outputs.TAG_NAME }}