From 003e413d9da18ddcad11123c2490bfe2f47250ec Mon Sep 17 00:00:00 2001 From: tomjfrog Date: Sat, 17 Aug 2024 15:31:19 -0500 Subject: [PATCH] Fixing OIDC login issue in create-release-candidate-bundle.yml --- .../workflows/create-release-candidate-bundle.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-release-candidate-bundle.yml b/.github/workflows/create-release-candidate-bundle.yml index 3f1e610..093b679 100644 --- a/.github/workflows/create-release-candidate-bundle.yml +++ b/.github/workflows/create-release-candidate-bundle.yml @@ -1,11 +1,12 @@ -name: Create Release Bundle and Promote +name: 'Create Release Bundle and Promote' on: workflow_dispatch: - -# push: -# tags: -# - '*-rc-[0-9]*' # Regex pattern to match tags suffixed with '-rc-' followed by a number + push: + tags: + - '*-rc-[0-9]*' # Regex pattern to match tags suffixed with '-rc-' followed by a number + paths-ignore: + - .github/** permissions: id-token: write @@ -13,6 +14,7 @@ jobs: promote-and-create-release-candidate: runs-on: ubuntu-latest env: + OIDC_PROVIDER_NAME: ${{ vars.JF_OIDC_PROVIDER_NAME }} JF_BASE_URL: ${{ vars.JF_BASE_URL }} JF_INSTANCE_NAME: ${{ vars.JF_INSTANCE_NAME }} JF_RELEASE_BUNDLE_NAME: ${{ vars.JF_RELEASE_BUNDLE_NAME }}