[PR #264] [MERGED] Fix Renovate Trigger workflow auth fallback for rotated webhook tokens #156
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
webgrip/homelab-cluster#156
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?
📋 Pull Request Information
Original PR: https://github.com/webgrip/homelab-cluster/pull/264
Author: @Copilot
Created: 5/25/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @Ryangr0
Base:
main← Head:copilot/fix-trigger-renovate-job📝 Commits (2)
aa478d0Initial planbceaabdfix(actions): retry renovate trigger with all webhook tokens📊 Changes
1 file changed (+26 additions, -16 deletions)
View changed files
📝
.github/workflows/renovate-trigger.yml(+26 -16)📄 Description
The
Trigger Renovateworkflow was failing because webhook calls returned403across projects. The trigger script only used the first token fromrenovate-webhook-auth, which breaks when that secret contains multiple comma-separated tokens and the first token is no longer valid.Workflow trigger auth handling
.github/workflows/renovate-trigger.ymlembedded Python to consume all tokens fromrenovate-webhook-auth(instead oftokens[0]).get_webhook_token()toget_webhook_tokens()to reflect behavior.Retry/fallback behavior for webhook POST
post_webhook()to iterate tokens and retry on auth errors (401/403).2xxresponse.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.