66 types :
77 - completed
88concurrency :
9- group : ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.ref }}
9+ group : ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.run_id }}
1010 cancel-in-progress : ${{ github.event.workflow_run.event == 'pull_request' }}
1111jobs :
1212 prepare :
@@ -33,20 +33,20 @@ jobs:
3333 with :
3434 authToken : ${{ secrets.GITHUB_TOKEN }}
3535 state : pending
36- context : ${{ github.workflow }} / cypress (${{ github.event.workflow_run.event }} => ${{ github.event_name }})
36+ context : ${{ github.workflow }} / cypress
3737 sha : ${{ github.event.workflow_run.head_sha }}
3838 target_url : https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
3939
4040 - id : prdetails
41- if : github.event.workflow_run.event == 'pull_request'
41+ if : github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.event == 'merge_group'
4242 uses : matrix-org/pr-details-action@v1.2
4343 with :
4444 owner : ${{ github.event.workflow_run.head_repository.owner.login }}
4545 branch : ${{ github.event.workflow_run.head_branch }}
4646
4747 - name : Get commit details
4848 id : commit
49- if : github.event.workflow_run.event == 'pull_request'
49+ if : github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.event == 'merge_group'
5050 uses : actions/github-script@v6
5151 with :
5252 script : |
@@ -221,7 +221,7 @@ jobs:
221221 with :
222222 authToken : ${{ secrets.GITHUB_TOKEN }}
223223 state : ${{ needs.tests.result == 'success' && 'success' || 'failure' }}
224- context : ${{ github.workflow }} / cypress (${{ github.event.workflow_run.event }} => ${{ github.event_name }})
224+ context : ${{ github.workflow }} / cypress
225225 sha : ${{ github.event.workflow_run.head_sha }}
226226 target_url : https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
227227
0 commit comments