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 65373d7 commit 05d39f0Copy full SHA for 05d39f0
.github/workflows/preview-build.yml
@@ -50,6 +50,8 @@ jobs:
50
group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref || github.ref }}
51
cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }}
52
runs-on: ubuntu-latest
53
+ env:
54
+ GITHUB_PR_REF_NAME: ${{ github.event.pull_request.head.ref }}
55
steps:
56
57
- name: Checkout
@@ -115,7 +117,6 @@ jobs:
115
117
env:
116
118
PR_NUMBER: ${{ github.event.pull_request.number }}
119
GITHUB_REF_NAME: ${{ github.ref_name }}
- GITHUB_PR_REF_NAME: ${{ github.event.pull_request.head.ref }}
120
run: |
121
case "${GITHUB_EVENT_NAME}" in
122
"merge_group" | "pull_request" | "pull_request_target")
0 commit comments