Skip to content

fix: scope config.toml gitignore to repo root#71

Merged
rubenhensen merged 1 commit intomainfrom
fix/gitignore-config-path
Mar 27, 2026
Merged

fix: scope config.toml gitignore to repo root#71
rubenhensen merged 1 commit intomainfrom
fix/gitignore-config-path

Conversation

@rubenhensen
Copy link
Copy Markdown
Contributor

Summary

  • Fixes release-plz CI failure caused by config.toml gitignore pattern matching the tracked file conf/config.toml
  • Changes config.toml to /config.toml so it only ignores the root-level runtime config, not the one in conf/

Context

The pattern was added in #70 when flattening the crate structure. The unscoped pattern inadvertently matched conf/config.toml, causing release-plz to error with: "the working directory of this project has uncommitted changes: conf/config.toml"

Test plan

  • Verify release-plz workflow succeeds after merge

The unscoped `config.toml` pattern also matched `conf/config.toml`,
which is a tracked file. This caused release-plz to fail with
"uncommitted changes" because git sees a conflict between a tracked
file and a gitignore rule. Prefixing with `/` restricts the pattern
to the repository root.
@rubenhensen rubenhensen merged commit 120bceb into main Mar 27, 2026
4 checks passed
@dobby-coder dobby-coder Bot deleted the fix/gitignore-config-path branch April 29, 2026 20:05
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