gha: add branch as input to plugin update workflow (#27204)

* gha: add branch as input to plugin update workflow

* name => set_name

* Revert "name => set_name"

This reverts commit de9ee4f33637729f09d17096d20f200061913a84.
This commit is contained in:
John-Michael Faircloth
2024-05-23 15:58:21 -05:00
committed by GitHub
parent c5ba06557f
commit ab9ee4a452

View File

@@ -8,6 +8,10 @@ on:
description: 'Full name of the plugin, e.g., vault-plugin-auth-kubernetes'
required: true
type: string
branch:
description: 'Git branch name to use'
required: true
type: string
version:
description: 'Version of the plugin with *NO* "v", e.g., 1.2.3'
required: true
@@ -21,7 +25,7 @@ jobs:
plugin-update:
runs-on: ubuntu-latest
env:
VAULT_BRANCH: "update/${{ inputs.plugin }}/v${{ inputs.version }}"
VAULT_BRANCH: ${{ inputs.branch }}
REVIEWER: ${{ inputs.reviewer || github.actor }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6