Skip to content

ci(release-please): exclude sub-packages and workflows from root release#331

Merged
kellervater merged 1 commit intomainfrom
fix/release-please-exclude-paths
Apr 11, 2026
Merged

ci(release-please): exclude sub-packages and workflows from root release#331
kellervater merged 1 commit intomainfrom
fix/release-please-exclude-paths

Conversation

@kellervater
Copy link
Copy Markdown
Member

📦 What

Add exclude-paths to the root (.) package in release-please-config.json.

💡 Why

The feat(setup-openscad)!: commit triggered a major version bump on both setup-openscad (intended ✅) and homeracker (unintended ❌ → v3.0.0). This happened because the root . package picks up all commits, including those scoped to sub-packages and CI workflows.

🔧 How

Excluded paths from the root package:

  • cmd/scadm — has its own release-please package
  • .github/actions/setup-openscad — has its own release-please package
  • .github/actions/sync-instructions — has its own release-please package
  • .github/workflows — CI-only, no release needed

Commits touching only these paths will no longer bump the homeracker version.

Add exclude-paths to the root (.) package so commits scoped to
sub-packages (cmd/scadm, .github/actions/*) and CI workflows
(.github/workflows) don't trigger homeracker version bumps.
Copilot AI review requested due to automatic review settings April 11, 2026 14:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the root homeracker release-please configuration so that changes confined to sub-packages and CI/workflow directories don’t incorrectly trigger root version bumps.

Changes:

  • Added exclude-paths to the root (.) package in release-please-config.json to ignore changes in sub-package and CI/workflow directories.

Comment thread .github/config/release-please-config.json
@kellervater kellervater changed the title fix: exclude sub-packages and workflows from root release ci(release-please): exclude sub-packages and workflows from root release Apr 11, 2026
@kellervater kellervater merged commit d11275d into main Apr 11, 2026
7 checks passed
@kellervater kellervater deleted the fix/release-please-exclude-paths branch April 11, 2026 14:29
kellervater pushed a commit that referenced this pull request Apr 12, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>homeracker: 3.1.0</summary>

##
[3.1.0](homeracker-v3.0.0...homeracker-v3.1.0)
(2026-04-12)


### ✨ Features

* use shared pre-commit-hooks from kellerlabs/pre-commit-hooks
([#334](#334))
([bb0e23a](bb0e23a))


### 🐛 Bug Fixes

* guard against empty PR list in automerge
([#335](#335))
([a6343b5](a6343b5))


### 🔄 CI/CD

* **release-please:** exclude sub-packages and workflows from root
release ([#331](#331))
([d11275d](d11275d))
</details>

<details><summary>sync-instructions: 1.1.0</summary>

##
[1.1.0](sync-instructions-v1.0.0...sync-instructions-v1.1.0)
(2026-04-12)


### ✨ Features

* **sync-instructions:** discover instruction files dynamically
([#336](#336))
([7321560](7321560))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: kellerlab-release-please[bot] <246533846+kellerlab-release-please[bot]@users.noreply.github.com>
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.

2 participants