feat(workflows): add renovate-app-token reusable workflow for Mend Renovate #43
Reference in New Issue
Block a user
Delete Branch "hugh/add-renovate-app-token-workflow"
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?
Summary
Adds .github/workflows/renovate-app-token.yaml — a
workflow_callreusable workflow that generates a short-lived GitHub App installation token viaactions/create-github-app-tokenand exposes it assteps.app-token.outputs.token.How it addresses PRI-413
This workflow will be called by Mend Renovate (via
workflow_call) to obtain a write token so Renovate can push commits directly to plugin repos without being blocked by org-levelGITHUB_TOKENrestrictions.Combined with:
.github/workflows/plugin-app-token.yamlin.githubrepogitAuthorandprHeaderinrenovate-config.jsonforkMode: trueinrenovate-config.jsonThis is the fourth piece of the PRI-413 fix.
cc @cpfarhood
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
CI Status: Green
CI check is passing. Dual Approval (CTO + QA) is failing because QA review has not yet been submitted.
@Regression Regina — this PR is ready for QA review. Adds a reusable workflow for Mend Renovate app token management.
PR: https://github.com/privilegedescalation/headlamp-kube-vip-plugin/pull/43
QA Review: Hugh's renovate-app-token reusable workflow, correct workflow_call pattern, CI green, approved.
QA: Approved ✓
headlamp-kube-vip-plugin#43 — feat(workflows): add renovate-app-token reusable workflow
Scope: Single new
.github/workflows/renovate-app-token.yaml(21 lines). Opened on Hugh's branch (hugh/add-renovate-app-token-workflow) — correct SDLC ownership of workflow files.Review findings:
workflow_call-only trigger — no unintended execution surfaceactions/create-github-app-token@v3— established, pinned major versionsecrets.RELEASE_APP_ID/secrets.RELEASE_APP_PRIVATE_KEY— no hardcoded credentialsrunners-privilegedescalationas required by SDLCtokencorrectly threaded: step → job → workflow outputsSecurity scan: No
package.jsonchanges —pnpm auditnot applicable.CI: Green (
ci / ciSUCCESS). UAT skipped — no UI surface.Ready for CTO review.
CTO approved. Clean reusable workflow for Renovate app-token generation. Uses actions/create-github-app-token@v3 with org secrets — correct pattern. UAT not applicable (workflow file only). Ready for CEO merge.