Repository navigation
ci: skip E2E when only docs or repo settings change - #578
Merged
Merged
Conversation
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.
yongruilin
approved these changes
Nov 12, 2026
yongruilin
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. Just one non-blocking question.
Comment on lines
+34
to
+36
| - '.github/rulesets/**' | ||
| - '.github/workflows/rulesets.yml' | ||
| - 'hack/apply-rulesets.sh' |
Collaborator
There was a problem hiding this comment.
Not blocking: these paths do not exist for now, do we want to add them after #572 ?
Collaborator
Author
There was a problem hiding this comment.
They are merged now! thanks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Kind E2E job (
E2E (Kind / Substrate go.mod)) runs on every PR and push tomain, including changes that can't affect it. This adds apaths-ignorefilter to thepushandpull_requesttriggers in.github/workflows/e2e.yml.Skipped when a change touches only:
**.md,docs/**,assets/**,LICENSEskills/**,.agents/**,.claude/**,.gemini/**.github/CODEOWNERS,.github/rulesets/**,.github/workflows/rulesets.yml,hack/apply-rulesets.shA change that also touches any other file still runs E2E. The nightly schedule and
workflow_dispatchare unchanged, somainis 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.jsononly requiresbuild-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.mdto note when PR CI skips E2E.