We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327f8ec commit f120813Copy full SHA for f120813
.github/workflows/github-actions.yml
@@ -38,12 +38,14 @@ jobs:
38
# extract branch name
39
- name: Extract branch name
40
if: github.event_name != 'pull_request'
41
+ run: echo "BRANCH_NAME ${GITHUB_REF#refs/heads/}"
42
env:
43
BRANCH_NAME: ${GITHUB_REF#refs/heads/}
44
45
# extract branch name on pull request
46
47
if: github.event_name == 'pull_request'
48
+ run: echo "BRANCH_NAME ${GITHUB_HEAD_REF}"
49
50
BRANCH_NAME: ${GITHUB_HEAD_REF}
51
0 commit comments