From 2cf10f9d5bfe70454f0e0be0a8cc8492699d7b8b Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Tue, 8 Sep 2026 15:09:05 -0400 Subject: [PATCH 1/4] Don't block merges on linkcheck Signed-off-by: William Woodruff --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 81ea4f0541..b96fcea5e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: include: - noxenv: linkcheck continue-on-error: >- # Don't block PRs on linkcheck unrelated failures - ${{ toJSON(github.event_name == 'pull_request') }} + ${{ toJSON(github.event_name == 'pull_request' || github.event_name == 'merge_group') }} steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 From acc958a0aea6644b7ff1bd47fde7794fae882ce9 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Tue, 8 Sep 2026 15:13:57 -0400 Subject: [PATCH 2/4] Don't block non-main pushes on linkcheck Signed-off-by: William Woodruff --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b96fcea5e7..0f95144fa2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,8 +35,10 @@ jobs: - false include: - noxenv: linkcheck - continue-on-error: >- # Don't block PRs on linkcheck unrelated failures - ${{ toJSON(github.event_name == 'pull_request' || github.event_name == 'merge_group') }} + # Don't block PRs, merge groups, or non-main pushes on unrelated linkcheck failures. + continue-on-error: >- + ${{ toJSON(github.event_name == 'pull_request' || github.event_name == 'merge_group' || + (github.event_name == 'push' && github.ref != 'refs/heads/main')) }} steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 From fd94bce7ed555f828eabe33e1dc33ce21e1a122f Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 9 Sep 2026 12:12:11 -0400 Subject: [PATCH 3/4] Update .github/workflows/test.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0f95144fa2..fed8fec5f4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,7 +38,7 @@ jobs: # Don't block PRs, merge groups, or non-main pushes on unrelated linkcheck failures. continue-on-error: >- ${{ toJSON(github.event_name == 'pull_request' || github.event_name == 'merge_group' || - (github.event_name == 'push' && github.ref != 'refs/heads/main')) }} + (github.event_name == 'push' && github.ref_name != github.event.repository.default_branch)) }} steps: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 From 8399b81344428dc5fa3ab5d27473f4d152435428 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 9 Sep 2026 12:12:20 -0400 Subject: [PATCH 4/4] Update .github/workflows/test.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fed8fec5f4..c81ec55cb6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,7 +37,7 @@ jobs: - noxenv: linkcheck # Don't block PRs, merge groups, or non-main pushes on unrelated linkcheck failures. continue-on-error: >- - ${{ toJSON(github.event_name == 'pull_request' || github.event_name == 'merge_group' || + ${{ toJSON(contains(['merge_group', 'pull_request'], github.event_name) || (github.event_name == 'push' && github.ref_name != github.event.repository.default_branch)) }} steps: