Skip to content

fix(ci): make STATUS.md auto-commit non-fatal on protected branches#433

Merged
itcmsgr merged 1 commit intomainfrom
fix/project-health-ci
Apr 16, 2026
Merged

fix(ci): make STATUS.md auto-commit non-fatal on protected branches#433
itcmsgr merged 1 commit intomainfrom
fix/project-health-ci

Conversation

@itcmsgr
Copy link
Copy Markdown
Owner

@itcmsgr itcmsgr commented Apr 16, 2026

Summary

  • Project Health workflow fails because auto-commit step tries to push directly to main
  • Branch protection rejects the push (requires PR)
  • All health checks pass — only the auto-commit push fails
  • Fix: continue-on-error: true + warning message instead of hard failure

Test plan

  • Project Health workflow completes without failure on main
  • STATUS.md artifact still uploaded
  • Warning logged when push is blocked by branch protection

🤖 Generated with Claude Code

Branch protection requires PRs for all changes to main. The Project
Health workflow's auto-commit step fails when GITHUB_TOKEN cannot
bypass branch protection, causing the entire workflow to report failure
even though all health checks pass.

Add continue-on-error and a warning message instead of hard failure.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@itcmsgr itcmsgr merged commit 1367e42 into main Apr 16, 2026
45 checks passed
@itcmsgr itcmsgr deleted the fix/project-health-ci branch April 16, 2026 16:56
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