From b5b4a952808b76210be556d219bf1ddca15f2f67 Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Fri, 15 Aug 2025 10:34:29 -0600 Subject: [PATCH] VAULT-34830 actions(plugin-update): update plugins from enterprise (#31474) * [VAULT-34830] actions(plugin-update): update plugins from enterprise Signed-off-by: Ryan Cragun --- .github/workflows/plugin-update.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/plugin-update.yml b/.github/workflows/plugin-update.yml index c7edc7ca7b..1a420f23fe 100644 --- a/.github/workflows/plugin-update.yml +++ b/.github/workflows/plugin-update.yml @@ -16,6 +16,10 @@ on: description: 'Version of the plugin with *NO* "v", e.g., 1.2.3' required: true type: string + ent-only: + description: Whether or not the plugin is enterprise only + required: true + type: boolean reviewer: description: 'Reviewer to tag on the PR' required: false @@ -52,13 +56,13 @@ jobs: git config user.name hc-github-team-secure-vault-ecosystem git config user.email hc-github-team-secure-vault-ecosystem@users.noreply.github.com - - if: steps.metadata.outputs.is-ent-branch != 'true' + - if: ! inputs.ent-only name: Update plugin run: | go get "github.com/hashicorp/${{ inputs.plugin }}@v${{ inputs.version }}" go mod tidy - - if: steps.metadata.outputs.is-ent-branch == 'true' + - if: inputs.ent-only name: Update Enterprise-only plugin run: | (cd vault_ent && go get "github.com/hashicorp/${{ inputs.plugin }}@v${{ inputs.version }}" && go mod tidy)