Skip to content

Skip runtime builds and tests for docs-only changes - #6

Closed
svozza wants to merge 1 commit into
mainfrom
ci/skip-docs-only-builds
Closed

svozza wants to merge 1 commit into
mainfrom
ci/skip-docs-only-builds

Conversation

@svozza

@svozza svozza commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Both required architecture jobs check which files changed after checkout.

docs-only PR or push → finish both checks after the diff
other PR or manual run → build and run smoke and security tests
other push to main → build, test, run the live Lambda integration test, and publish

Evidence

Previously, even a README edit built both images. Exercised the workflow’s detection script with temporary Git histories covering docs-only changes, mixed changes, runtime notices, renames, workflow edits, manual runs, and an unavailable base commit. The script requested a full build when it could not verify the diff. Actionlint reported the same two diagnostics as main, for the custom CodeBuild label and an existing shell loop.

Merge Danger

Docs-only commits on main will have no new ECR image tag. Both native runners still start and check out the repository so the required checks report a result.

Closes #7.

@svozza

svozza commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator Author

Not needed now we have build caching: #8.

@svozza svozza closed this Nov 20, 2026
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.

Skip runtime image builds and integration tests for docs-only changes

1 participant