Skip to content

ci: skip dev-build for documentation-only and release commits#161

Merged
d0ugal merged 1 commit intomainfrom
ci-skip-dev-build-for-docs
Nov 2, 2025
Merged

ci: skip dev-build for documentation-only and release commits#161
d0ugal merged 1 commit intomainfrom
ci-skip-dev-build-for-docs

Conversation

@d0ugal
Copy link
Copy Markdown
Owner

@d0ugal d0ugal commented Nov 2, 2025

This PR updates the CI workflow to skip the dev-build job when:

  1. Documentation-only changes: If only documentation files (README.md, CHANGELOG.md, docs/, .md files, LICENSE) are changed
  2. Release commits: If the commit message matches release patterns (e.g., "chore(main): release")

This prevents unnecessary Docker builds for commits like:

  • Documentation updates (e.g., README.md changes)
  • Release commits that only update CHANGELOG.md

The dev-build job will still run for all other commits that modify code, configuration, or other non-documentation files.

@d0ugal d0ugal enabled auto-merge (rebase) November 2, 2025 15:31
@d0ugal d0ugal merged commit 863859d into main Nov 2, 2025
8 checks passed
@d0ugal d0ugal deleted the ci-skip-dev-build-for-docs branch November 2, 2025 15:33
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