Skip to content

Commit b23f3a2

Browse files
authored
Merge pull request #161 from hypercerts-org/e2e-skip-release-pr
2 parents 2551e20 + de69725 commit b23f3a2

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/e2e-tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,18 @@ jobs:
7272
#
7373
# `always()` is needed because `gate` is skipped on non-PR
7474
# events, and GitHub would otherwise cascade-skip this job.
75-
if: always() && (needs.gate.outputs.relevant == 'true' || github.event_name != 'pull_request')
75+
#
76+
# Skip the changesets/action "Version Packages" PR (head ref
77+
# `changeset-release/main`): no Railway preview is provisioned
78+
# for that bot-generated branch, so the "Find Railway preview
79+
# deployment" step would always fail with "No Railway
80+
# deployments exist for PR #N preview at all". A skipped *job*
81+
# still reports conclusion=skipped to branch protection, which
82+
# is treated as passing — same pattern as the `gate` job above.
83+
if: >-
84+
always() &&
85+
github.event.pull_request.head.ref != 'changeset-release/main' &&
86+
(needs.gate.outputs.relevant == 'true' || github.event_name != 'pull_request')
7687
runs-on: blacksmith-4vcpu-ubuntu-2404
7788
timeout-minutes: 20
7889
permissions:

0 commit comments

Comments
 (0)