From c8c3a3682df6e51f0903269e9bb17a7c79464516 Mon Sep 17 00:00:00 2001 From: Darion Haase Date: Mon, 27 May 2024 14:17:46 +0200 Subject: [PATCH] [CI] Proper secret passing between workflows --- .github/workflows/build-vsix-marketplaces.yml | 7 +++++++ .github/workflows/on_tagged_release_publish.yml | 3 +++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/build-vsix-marketplaces.yml b/.github/workflows/build-vsix-marketplaces.yml index dccf5856..b4ac1e68 100644 --- a/.github/workflows/build-vsix-marketplaces.yml +++ b/.github/workflows/build-vsix-marketplaces.yml @@ -10,6 +10,13 @@ on: version: required: true type: string + secrets: + VSCE_PAT: + description: "Token for publishing to the VSCode Marketplace" + required: true + OPEN_VSX_PAT: + description: "Token for publishing to the Open VSX Registry" + required: true env: EXTENSION_DIRECTORY: ./vscode-ext diff --git a/.github/workflows/on_tagged_release_publish.yml b/.github/workflows/on_tagged_release_publish.yml index a12803e2..6da15b66 100644 --- a/.github/workflows/on_tagged_release_publish.yml +++ b/.github/workflows/on_tagged_release_publish.yml @@ -19,3 +19,6 @@ jobs: with: git_ref: ${{ github.ref_name }} version: ${{ github.ref_name }} + secrets: + VSCE_PAT: ${{ secrets.VSCE_PAT }} + OPEN_VSX_PAT: ${{ secrets.OPEN_VSX_PAT }}