mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-07-01 18:30:29 +00:00
fix(GITHUB_REF_NAME): correctly fill the variable on pull request events
This commit is contained in:
committed by
Romain Lespinasse
parent
aa95092e35
commit
2c5a627861
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user