mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
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:
committed by
GitHub
parent
c5ba06557f
commit
ab9ee4a452
6
.github/workflows/plugin-update.yml
vendored
6
.github/workflows/plugin-update.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user