Skip to content

Commit

Permalink
build: define intermediate environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Dec 13, 2023
1 parent 3ec0f67 commit c96044e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,11 @@ jobs:
- name: 'Checkout the pull request branch'
# Pin action to full length commit SHA
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
env:
HEAD_REF: ${{ github.event.pull_request.head.ref }}
with:
# Refers to the branch name of the pull request:
ref: "${{ github.event.pull_request.head.ref }}"
ref: ${{ env.HEAD_REF }}

# Refers to the repository name of the pull request:
repository: ${{ github.event.pull_request.head.repo.full_name }}
Expand Down

0 comments on commit c96044e

Please sign in to comment.