Skip to content

fix: use git add -f for gitignored spec artifacts in release#207

Merged
emilyoram merged 1 commit into
mainfrom
fix/release-gitignore
May 18, 2026
Merged

fix: use git add -f for gitignored spec artifacts in release#207
emilyoram merged 1 commit into
mainfrom
fix/release-gitignore

Conversation

@emilyoram
Copy link
Copy Markdown
Contributor

The release workflow fails at the "Commit generated artifacts" step because external-spec/bundled/ matches the .gitignore pattern external-spec/**/*.

Error:

The following paths are ignored by one of your .gitignore files:
external-spec/bundled
Use -f if you really want to add them.

Fix: Add -f flag to git add so it force-adds the gitignored spec artifacts that the release pipeline intentionally regenerates and commits.

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

Adds -f flag to git add in the release workflow so the intentionally regenerated spec artifacts under external-spec/bundled/ (which match a .gitignore pattern) can be committed by the release pipeline.

Changes:

  • Force-add gitignored spec artifacts during the release commit step.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@emilyoram emilyoram merged commit d12cddf into main May 18, 2026
12 checks passed
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