Skip to content

Commit f1c9f38

Browse files
Merge branch 'main' into translation/source
2 parents 0598cc2 + 2f2761d commit f1c9f38

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ jobs:
3535
- false
3636
include:
3737
- noxenv: linkcheck
38-
continue-on-error: >- # Don't block PRs on linkcheck unrelated failures
39-
${{ toJSON(github.event_name == 'pull_request') }}
38+
# Don't block PRs, merge groups, or non-main pushes on unrelated linkcheck failures.
39+
continue-on-error: >-
40+
${{ toJSON(contains(fromJSON('["merge_group", "pull_request"]'), github.event_name) ||
41+
(github.event_name == 'push' && github.ref_name != github.event.repository.default_branch)) }}
4042
4143
steps:
4244
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

0 commit comments

Comments
 (0)