forked from brad/brand-guidelines
CI Failure: Build brand outputs #1
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:
816121e91bRun: https://git.brads.house/digitech/brand/actions/runs/1
Root Cause Analysis
The workflow completed successfully through the build pipeline:
chore: regenerate brand outputs from brand.ymlFailed at: Git push to repository
Error:
Investigation:
cihaswritepermission todigitech/brand(verified via API)${{ github.token }}for git authenticationgithub.tokendoes not have write permissions for pushingtrigger-deployjob correctly uses${{ secrets.FORGEJO_TOKEN }}for authenticationConclusion:
The
buildjob's git push step uses the Forgejo Actions token (github.token) which lacks write permissions. The workflow should usesecrets.FORGEJO_TOKENfor authentication (same as thetrigger-deployjob).Recommendation: @brad Update the
Commit generated files if changedstep in.forgejo/workflows/build.ymlto usesecrets.FORGEJO_TOKENfor git authentication:Also ensure the
FORGEJO_TOKENsecret exists with write scope for this repository.