Skip Docker image builds for documentation-only changes - #146
Merged
Merged
Conversation
Pushes and pull requests that only change Markdown files, LICENSE or the Dependabot config no longer trigger the Docker build. Version tag pushes (v*) are not affected by path filters and still always build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TWkh86yGwethdcSzje555s
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.
Summary
Until now, the Build and Push Docker Image workflow ran on every push to
main/developand on every PR intodevelop, including commits that only edited the README.This adds
paths-ignoreto both thepushandpull_requesttriggers:Behaviour
.md/ LICENSE / dependabot configv*)Note: if branch protection marks this workflow as a required status check, a docs-only PR would wait on a check that never runs. I haven't checked the branch protection settings.
Testing
This only changes workflow triggers (
paths-ignoreis standard GitHub Actions syntax). It can't be run outside GitHub Actions. It will be exercised once merged: the next README-only push should not start a build.🤖 Generated with Claude Code
https://claude.ai/code/session_01TWkh86yGwethdcSzje555s