Skip to content

ci: skip the release when a merge changes nothing in the app - #36

Merged
CodySimonds65 merged 1 commit into
mainfrom
ci/skip-release-for-docs
Oct 5, 2026
Merged

CodySimonds65 merged 1 commit into
mainfrom
ci/skip-release-for-docs

Conversation

@CodySimonds65

Copy link
Copy Markdown
Owner

Merging the docs-only CONTRIBUTORS PR (#35) cut v1.1.28: an 88 MB update with no code change, because tag-on-merge.yml tags every merged PR.

This adds a paths-ignore filter to the trigger, so the workflow doesn't run when every file in the merged PR matches one of:

  • **.md
  • docs/** (the README screenshots)
  • .github/**

A PR that touches anything else still releases as before, so a mistake in the filter means an extra release, not a missed one.

One consequence: a fix to release.yml alone no longer publishes on merge. It goes out with the next code merge.

Testing

Not tested; it can only be proven by a merge. This PR is the test: it touches only .github/, so merging it should produce no v1.1.29. If one does appear, GitHub used the pre-merge copy of the workflow, and the next docs-only merge is the test instead.

Merging the docs-only CONTRIBUTORS PR cut v1.1.28, an 88 MB update with no code change. The tagging workflow now ignores merges that touch only Markdown, docs/ or .github/.
@CodySimonds65
CodySimonds65 merged commit 10a2456 into main Oct 5, 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.

1 participant