Skip to content

Skip the Dependabot merge gate until its app is configured - #6

Merged
imanimanyara merged 1 commit into
mainfrom
fix/dependabot-merge-gate-guard
Oct 13, 2026
Merged

imanimanyara merged 1 commit into
mainfrom
fix/dependabot-merge-gate-guard

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

The Dependabot merge gate failed every scheduled run, one red merge (<org>) job per org (36 on head 25c5581), with 'client-id' ... must be set to a non-empty string: vars.MERGE_APP_CLIENT_ID and secrets.MERGE_APP_PRIVATE_KEY are not configured on this repository yet.

  • Guard. The accounts job's first step checks whether both are set (only a boolean per value reaches the step, never the key). When either is missing it posts a ::notice:: and a job-summary line naming what is missing, and the merge matrix is skipped, so the run ends green. Once both exist the gate runs exactly as before.
  • Schedule. Hourly (17 * * * *) becomes weekly, Tuesday 14:17 UTC (17 14 * * 2): a day after Dependabot's Monday 06:00 America/New_York run and the reconciler's Monday 14:00 UTC run. The org caps crons at weekly, and each hourly failure was an email.
  • dependabot/README.md updated to match (cadence, and the skip behaviour).

Not done here, because it is the owner's step: creating the Dependency Merge Bot and setting the variable and secret (dependabot/README.md, Credentials).

Verified locally: actionlint clean, python3 -m unittest discover -s dependabot/tests (13 tests OK), vcs-orgs-presence/bin/health-audit.sh --offline (0 failures).

Every scheduled run failed one merge (<org>) job per org with "'client-id' must be set to a non-empty string", because MERGE_APP_CLIENT_ID and MERGE_APP_PRIVATE_KEY are not set on this repository yet. The accounts job now checks both are present (only whether each is set reaches the step), posts a notice and skips the merge jobs when either is missing, and the gate runs as before once both exist.

The schedule moves from hourly to weekly, Tuesday 14:17 UTC, a day after Dependabot's Monday run and the reconciler, per the org cap of weekly crons. Every failure was also an email.
Copilot AI balanced review requested due to automatic review settings October 13, 2026 16:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@imanimanyara
imanimanyara merged commit 7da52c7 into main Oct 13, 2026
5 checks passed
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