Skip to content

ci: skip E2E when only docs or repo settings change - #578

Merged
MushuEE merged 1 commit into
mainfrom
ci/e2e-skip-docs
Nov 12, 2026
Merged

MushuEE merged 1 commit into
mainfrom
ci/e2e-skip-docs

Conversation

@MushuEE

@MushuEE MushuEE commented Nov 12, 2026

Copy link
Copy Markdown
Collaborator

The Kind E2E job (E2E (Kind / Substrate go.mod)) runs on every PR and push to main, including changes that can't affect it. This adds a paths-ignore filter to the push and pull_request triggers in .github/workflows/e2e.yml.

Skipped when a change touches only:

  • **.md, docs/**, assets/**, LICENSE
  • agent skills: skills/**, .agents/**, .claude/**, .gemini/**
  • repo settings: .github/CODEOWNERS, .github/rulesets/**, .github/workflows/rulesets.yml, hack/apply-rulesets.sh

A change that also touches any other file still runs E2E. The nightly schedule and workflow_dispatch are unchanged, so main is still tested daily.

None of the E2E scripts (hack/*e2e*), test/e2e/manifests, or Dockerfiles read the skipped paths. examples/** is intentionally not skipped.

Required checks: E2E isn't a required status check (protect-main.json only requires build-and-test), so a skipped run doesn't block merging. If E2E becomes required (e.g. for the merge queue), this should become a job-level filter, or skipped runs will leave the check pending.

Also updates skills/substrate/SKILL.md to note when PR CI skips E2E.

The Kind E2E job ran on every pull request and push to main, including
changes that cannot affect it: Markdown, docs/, assets/, agent skills,
CODEOWNERS and rulesets. Add a paths-ignore filter to the push and
pull_request triggers so those changes skip it. A change that also
touches any other file still runs E2E, and the nightly run still covers
main.

E2E is not a required status check, so a skipped run does not block
merging. If it becomes required, switch to a job-level filter.
@MushuEE
MushuEE requested a review from rakyll November 12, 2026 18:35

@yongruilin yongruilin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just one non-blocking question.

Comment thread .github/workflows/e2e.yml
Comment on lines +34 to +36
- '.github/rulesets/**'
- '.github/workflows/rulesets.yml'
- 'hack/apply-rulesets.sh'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not blocking: these paths do not exist for now, do we want to add them after #572 ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are merged now! thanks

@MushuEE
MushuEE merged commit f3e6ecc into main Nov 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants