Skip to content

fix(ci): use App Client ID for gha-workflows v14 auto-merge#209

Merged
maximizeIT merged 1 commit into
mainfrom
fix/gha-workflows-v14-client-id
Jun 23, 2026
Merged

fix(ci): use App Client ID for gha-workflows v14 auto-merge#209
maximizeIT merged 1 commit into
mainfrom
fix/gha-workflows-v14-client-id

Conversation

@maximizeIT

Copy link
Copy Markdown
Contributor

Problem

The Enable Dependabot Auto-Merge workflow fails with startup_failure ("invalid workflow file"). Root cause is not an expired App ID/secret value — it's an undeclared/missing required secret name.

Staffbase/gha-workflows v14 switched GitHub App authentication from App ID to App Client ID. template_automerge_dependabot.yml now declares client_id (required) instead of app_id. The caller still passed app_id → GitHub rejects the workflow before any step runs.

Fix

Map the App Client ID org variable STAFFBASE_ACTIONS_CLIENT_ID to the template's client_id secret. STAFFBASE_ACTIONS_PRIVATE_KEY is unchanged. publish-npm.yml is unaffected (no App auth).

Reference: STAFFBASE_ACTIONS_CLIENT_ID org variable added in Staffbase/infrastructure (2026-06-05); same pattern already used by keytool-service, customer-control, wams. Companion fixes: cc-saml-test-service-provider#139, cc-custom-plugin-example#540.

Co-authored-by: GitHub Copilot copilot@noreply.github.com

The gha-workflows v14 template_automerge_dependabot reusable workflow
switched GitHub App auth from App ID to App Client ID and now requires
client_id. The caller still passed app_id, which caused startup_failure
(invalid workflow file) on the dependabot auto-merge workflow.

Map client_id to vars.STAFFBASE_ACTIONS_CLIENT_ID; keep
STAFFBASE_ACTIONS_PRIVATE_KEY unchanged.

Co-authored-by: GitHub Copilot <copilot@noreply.github.com>
@maximizeIT
maximizeIT marked this pull request as ready for review June 23, 2026 09:30
@maximizeIT
maximizeIT requested a review from a team as a code owner June 23, 2026 09:30
@maximizeIT
maximizeIT enabled auto-merge June 23, 2026 09:30
@maximizeIT
maximizeIT merged commit 05f97d0 into main Jun 23, 2026
7 checks passed
@maximizeIT
maximizeIT deleted the fix/gha-workflows-v14-client-id branch June 23, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants