Skip to content

Auto-merge tested non-course Dependabot updates - #10

Merged
superseacat merged 1 commit into
mainfrom
codex/dependabot-automerge
Nov 13, 2026
Merged

superseacat merged 1 commit into
mainfrom
codex/dependabot-automerge

Conversation

@superseacat

Copy link
Copy Markdown
Member

Non-course Dependabot dependency version updates can squash-merge only after the configured build and test jobs pass on the current head and base. Runtime, development and major updates use the same gate.

Uses the existing application build and test workflows as the merge gate.

The trusted default-branch workflow verifies signed bot commits, complete file scope, actual job execution, all current checks and review state before approving and merging the exact tested SHA. Course content, mixed source changes, missing/skipped tests and unknown dependency inputs require review. GITHUB_TOKEN merges do not trigger push-driven publishing or deployments; no release is dispatched.

Validation: 51 policy tests passed locally for this repository; actionlint and git diff --check passed.

export function githubClient(repository, token) {
if (!/^[\w.-]+\/[\w.-]+$/.test(repository) || !token) throw new Error('Repository and token required.');
const request = async (path, method = 'GET', body) => {
const response = await fetch(`https://api.github.com/repos/${repository}/${path}`, {
expectedHead: run?.head_sha, merge });
console.log(`#${candidate.number}: ${result.reason}`);
if (process.env.GITHUB_STEP_SUMMARY)
appendFileSync(process.env.GITHUB_STEP_SUMMARY, `- #${candidate.number}: ${result.reason}\n`);
@superseacat
superseacat merged commit 701cd2f into main Nov 13, 2026
7 checks passed
@superseacat
superseacat deleted the codex/dependabot-automerge branch November 13, 2026 13:57
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