We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65f3d0a commit a9f742aCopy full SHA for a9f742a
.github/workflows/qa.yml
@@ -35,9 +35,11 @@ jobs:
35
env:
36
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
- uses: actions/checkout@v6
38
+ env:
39
+ HEAD_BRANCH: ${{ github.event.workflow_run.head_branch }}
40
with:
41
repository: ${{ github.event.workflow_run.head_repository.full_name }}
- ref: ${{ github.event.workflow_run.head_branch }}
42
+ ref: "$HEAD_BRANCH"
43
fetch-depth: 0
44
- name: Checkout base branch
45
if: github.event.workflow_run.event == 'pull_request'
0 commit comments