Skip to content

ci: skip template builds for root README-only pull requests - #90

Open
He-Pin wants to merge 1 commit into
apache:mainfrom
He-Pin:ci/root-readme-only
Open

He-Pin wants to merge 1 commit into
apache:mainfrom
He-Pin:ci/root-readme-only

Conversation

@He-Pin

@He-Pin He-Pin commented Nov 24, 2026

Copy link
Copy Markdown
Member

Motivation

Editing the repository overview does not affect the generated project or separate Paradox documentation sources.

Modification

Verify the exact PR merge checkout and its parents, require full history and one merge base, then prove the authored and merge diffs both only modify the existing regular root README before skipping template build and test work. The separate documentation job is untouched.

Result

pure root README edits avoid unrelated build work, without changing triggers, check names, permissions, or validation for other changes.

References

Pekko HTTP selective CI pilot.

Tests

21 exact local Git fixtures, YAML structure preservation and git diff --check. Hosted Actions not run.

Motivation: Editing the repository overview does not affect the generated project or separate Paradox documentation sources.

Modification: Verify the exact PR merge checkout and its parents, require full history and one merge base, then prove the authored and merge diffs both only modify the existing regular root README before skipping template build and test work.

Result: pure root README edits avoid unrelated build work, without changing triggers, check names, permissions, or validation for other changes.

References: Pekko HTTP docs-only PR CI pilot.

Tests: 21 exact local Git fixtures, YAML structure preservation and git diff --check. Hosted Actions not run.
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.

1 participant