fix(GITHUB_REF_NAME): correctly fill the variable on pull request events

This commit is contained in:
rlespinasse
2022-04-09 22:26:32 +02:00
committed by Romain Lespinasse
parent aa95092e35
commit 2c5a627861
2 changed files with 14 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ runs:
# Calculated values
- id: get-github-ref-name
run: echo "::set-output name=github-ref-name::$(echo "${{ github.head_ref || github.ref }}" | cut -d/ -f3)"
run: echo "::set-output name=github-ref-name::${{ github.head_ref || github.ref_name }}"
shell: bash
- uses: rlespinasse/slugify-value@v1.2.3
with: