File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,14 @@ jobs:
3737 full_name : ${{ github.event.repository.full_name }}
3838 env :
3939 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40- - name : Checkout head branch on push
40+ - name : Checkout head branch
4141 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
42- if : github.event.workflow_run.event == 'push' && github.event.workflow_run.head_repository.full_name == github.event.repository.full_name
4342 with :
4443 repository : ${{ github.event.workflow_run.head_repository.full_name }}
4544 ref : ${{ github.event.workflow_run.head_branch }}
4645 fetch-depth : 0
4746 persist-credentials : false
48- - name : Checkout head branch on pull_request
47+ - name : Checkout head branch of pull_request
4948 if : github.event.workflow_run.event == 'pull_request'
5049 env :
5150 HEAD_BRANCH : ${{ github.event.workflow_run.head_branch }}
You can’t perform that action at this time.
0 commit comments