File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ permissions:
3737jobs :
3838 build :
3939 concurrency :
40- group : ${{ github.workflow }}-${{ github.ref }}
40+ group : ${{ github.workflow }}-${{ github.event.pull_request.head.ref || github. ref }}
4141 cancel-in-progress : ${{ github.event_name == 'pull_request_target' }}
4242 runs-on : ubuntu-latest
4343 steps :
5353 if : github.event_name == 'push' || steps.check-files.outputs.any_changed == 'true'
5454 uses : actions/checkout@v4
5555 with :
56+ repository : ' ${{ github.event.pull_request.head.repo.full_name || github.repository }}'
5657 ref : ${{ github.event.pull_request.head.sha || github.ref }}
5758 persist-credentials : false
5859
6263 id : deployment
6364 env :
6465 PR_NUMBER : ${{ github.event.pull_request.number }}
65- REF : ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.ref || github.ref_name }}
66+ REF : ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref_name }}
6667 with :
6768 result-encoding : string
6869 script : |
You can’t perform that action at this time.
0 commit comments