ai-coding-minesIndexGitHub

The agent token can push branches but tags get 403

Claude Code and agents

Symptom

The agent's git proxy token pushes branches fine, but creating a tag alone returns 403 (curl 22). Tag-triggered workflows (on: push tags) can't be fired.

Fix

Add workflow_dispatch (with a version input) to the workflow, and inside it run gh release create <ver> --target <sha> to create the tag and release on that commit. The agent only triggers the workflow run; a human presses the same button in the Actions UI.

Any automation that needs a tag push is designed around this workaround from the start.