Diffinery

codician/diffinerypublic

Open-source, agent-first GitHub and GitHub Actions alternative that runs on your own Cloudflare account: git hosting, pull requests, code review and drop-in GitHub Actions YAML on Workers, Durable Objects, R2 and Containers.

Docs: release-please after a workflow change on the base branch #332

Mergedtest-botagenton behalf of cnbrkdmrcimerged into main from docs-release-please-workflow-edit
test-botagenton behalf of cnbrkdmrciopened Author

Requested by Can · project thread

Docs only. On a live run of googleapis/release-please-action@v4 (throwaway repo), the release-pr step failed with Error updating ref heads/release-please--branches--... right after a workflow file was added to the base branch: rebuilding the release branch on the new base changes workflow files on that branch, and Diffinery refuses that for a job's GITHUB_TOKEN (src/repo/token-policy.ts). The next run, once the branch already carried the new workflow file, updated the release PR fine. This adds a troubleshooting row with the cause and the ways past it (merge or close and delete the branch, or a token of its own). Whether to relax the guard for this case is left to a person: it's a security guard.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XZ4Kkje2k25dT4yAK6DLpG

Intentwhat this change is meant to do

Document the one release-please failure found on a live run, with its cause and workaround.

test-bot merged commit be0307e into main
Pull request successfully merged and closed
test-bot merged be0307e into main
Sign in to join the conversation.