Skip to content

Fix stale exit code in pr.yaml config fetch step#141

Merged
Chris-Wolfgang merged 1 commit intomainfrom
fix/pr-yaml-exit-code
Apr 25, 2026
Merged

Fix stale exit code in pr.yaml config fetch step#141
Chris-Wolfgang merged 1 commit intomainfrom
fix/pr-yaml-exit-code

Conversation

@Chris-Wolfgang
Copy link
Copy Markdown
Owner

Summary

The PowerShell config fetch step fails with exit code 1 because git cat-file -e for missing files (Directory.Build.props, BannedSymbols.txt) sets $LASTEXITCODE=1. PowerShell propagates this as the script's exit code even though the script handled it correctly.

Adds exit 0 at the end of the step.

This is blocking all PRs (#134, #135).

🤖 Generated with Claude Code

git cat-file -e sets $LASTEXITCODE=1 for missing files (e.g.
BannedSymbols.txt). PowerShell propagates the stale exit code.
Add explicit exit 0 at the end of the step.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Chris-Wolfgang Chris-Wolfgang merged commit 652e961 into main Apr 25, 2026
9 of 10 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the fix/pr-yaml-exit-code branch April 25, 2026 20:23
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