chore: log FORGEJO_TOKEN user identity in build-push #6

Merged
rcsheets merged 1 commit from chore/log-token-identity into main 2026-04-30 09:33:02 +00:00
Owner

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

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>
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>
rcsheets deleted branch chore/log-token-identity 2026-04-30 09:33:02 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brooktrails/brooktrails-web!6
No description provided.