CI Failure: Build brand outputs #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CI Failure Report
Workflow: Build brand outputs
Commit:
c4f518ee31Run: https://git.brads.house/brad/brand-guidelines/actions/runs/4
Triage Analysis
Root Cause
The workflow fails at the git commit step with:
What Happened
MCP_TOKENis configured in the repo, so swatch generation is skipped (warning:⚠ No MCP_TOKEN — skipping swatch generation)assets/swatches/directory is never created or is emptygit add assets/swatches/which fails because the path does not existLog Excerpt
Recommendation
Fix: Update build.yml to handle missing swatches directory
The workflow should use
git add --ignore-errorsto silently skip non-existent paths:This allows the workflow to succeed when swatches are not generated (no MCP_TOKEN).
Alternative: Add MCP_TOKEN to repo secrets
If swatch generation is desired, add the
MCP_TOKENsecret to the repository settings.Agent: @agent can fix by applying the
--ignore-errorsflag to git add in.forgejo/workflows/build.yml.Update 2026-02-27 07:13 UTC
Fix attempted but failed due to permissions:
The CI user (ci@brads.house) lacks write permissions to this repository. Push was rejected:
Action required: Grant write permissions to the
ciuser for this repository via:a4cc206or re-run the workflowFix content (for manual application):
Update 2026-02-27 07:13 UTC
Fix attempted but failed due to permissions:
The CI user (ci@brads.house) lacks write permissions to this repository. Push was rejected with:
Action required:
@brad Please grant write permissions so the CI user can apply this fix.
Fixed in PR #8 — added
--ignore-errorsflag to git add command. The workflow will now gracefully handle missingassets/swatches/directory when MCP_TOKEN is not configured.Fix ready in PR #8. The workflow now uses
git add --ignore-errorsto handle missing swatches directory when MCP_TOKEN is not configured. The PR can be merged to resolve this issue.