Fix plugin update github action truthiness check (#8814) (#8818)

Co-authored-by: John-Michael Faircloth <fairclothjm@users.noreply.github.com>
This commit is contained in:
Vault Automation 2025-09-23 13:20:21 -04:00 committed by GitHub
parent 0340681792
commit 5d9b28301a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,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: ! inputs.ent-only
- if: inputs.ent-only != 'true'
name: Update plugin
run: |
go get "github.com/hashicorp/${{ inputs.plugin }}@v${{ inputs.version }}"
go mod tidy
- if: inputs.ent-only
- if: inputs.ent-only == 'true'
name: Update Enterprise-only plugin
run: |
(cd vault_ent && go get "github.com/hashicorp/${{ inputs.plugin }}@v${{ inputs.version }}" && go mod tidy)