fix(ci): use App Client ID for gha-workflows v14 auto-merge#209
Merged
Conversation
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
marked this pull request as ready for review
June 23, 2026 09:30
maximizeIT
enabled auto-merge
June 23, 2026 09:30
marcelo-staffbase
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
Enable Dependabot Auto-Mergeworkflow fails withstartup_failure("invalid workflow file"). Root cause is not an expired App ID/secret value — it's an undeclared/missing required secret name.Staffbase/gha-workflowsv14 switched GitHub App authentication from App ID to App Client ID.template_automerge_dependabot.ymlnow declaresclient_id(required) instead ofapp_id. The caller still passedapp_id→ GitHub rejects the workflow before any step runs.Fix
Map the App Client ID org variable
STAFFBASE_ACTIONS_CLIENT_IDto the template'sclient_idsecret.STAFFBASE_ACTIONS_PRIVATE_KEYis unchanged.publish-npm.ymlis unaffected (no App auth).Reference:
STAFFBASE_ACTIONS_CLIENT_IDorg 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