chore: log FORGEJO_TOKEN user identity in build-push #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/log-token-identity"
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?
Adds a small diagnostic step right before the deploy dispatch that
hits /api/v1/user with the token and echoes the authenticated login
(plus admin status and email when available). Tolerant of failure —
a non-200 response logs a warning rather than aborting the pipeline.
Useful for confirming which Forgejo identity the workflow is acting
as when other repos with auto-generated tokens hit cross-repo
permission walls.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com