mirror of
https://github.com/hashicorp/vault.git
synced 2026-04-24 15:47:33 -04:00
Support detecting short or long base refs Signed-off-by: Ryan Cragun <me@ryan.ec> Co-authored-by: Ryan Cragun <me@ryan.ec>
This commit is contained in:
parent
42096bfab0
commit
ef4609e2a4
1 changed files with 1 additions and 1 deletions
2
.github/actions/metadata/action.yml
vendored
2
.github/actions/metadata/action.yml
vendored
|
|
@ -157,7 +157,7 @@ runs:
|
|||
base_ref='${{ github.event.pull_request.base.ref || github.event.base_ref || github.ref_name || github.event.branch || github.ref }}'
|
||||
is_ent_repo='true'
|
||||
is_ent_branch='true'
|
||||
is_ce_in_enterprise=$([[ $base_ref == ce/* ]] && echo "true" || echo "false")
|
||||
is_ce_in_enterprise=$([[ $base_ref == ce/* || $base_ref == refs/heads/ce/* ]] && echo "true" || echo "false")
|
||||
if [ "$is_ce_in_enterprise" = 'true' ]; then
|
||||
is_enterprise="false"
|
||||
is_ent_branch="false"
|
||||
|
|
|
|||
Loading…
Reference in a new issue