Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit d784eec

Browse files
authored
Merge branch 'develop' into renovate/react-types
2 parents d6418f0 + 700af09 commit d784eec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/cypress.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types:
77
- completed
88
concurrency:
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' }}
1111
jobs:
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

Comments
 (0)