Skip to content

feat: add Dependabot auto-merge workflow - #327

Merged
cruddasj merged 1 commit into
mainfrom
dependabot-auto-merge
Aug 30, 2026
Merged

feat: add Dependabot auto-merge workflow#327
cruddasj merged 1 commit into
mainfrom
dependabot-auto-merge

Conversation

@cruddasj

Copy link
Copy Markdown
Owner

Flows down the Dependabot auto-merge improvement from second-brain-architecture.

Adds a workflow that runs only for Dependabot pull requests, fetches Dependabot metadata, and enables GitHub auto-merge using the repository GITHUB_TOKEN.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-30T20:30:50.192449Z c795b5c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Unit Test Coverage

Metric Coverage
Lines 100%
Statements 100%
Branches 98.66%
Functions 100%

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c795b5cba0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

name: Dependabot auto-merge

on:
pull_request:

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Run auto-merge in a writable event context

For Dependabot-authored PRs, this pull_request trigger runs in a fork-equivalent security context, so GitHub downgrades GITHUB_TOKEN to read-only despite the requested write permissions (GitHub documentation). Consequently, gh pr merge --auto --merge cannot update the PR and this workflow fails instead of enabling auto-merge; use a trusted pull_request_target or post-CI workflow_run context without executing code from the Dependabot branch.

Useful? React with 👍 / 👎.

@cruddasj
cruddasj merged commit 3bbe08e into main Aug 30, 2026
2 checks passed
@cruddasj
cruddasj deleted the dependabot-auto-merge branch August 30, 2026 21:26
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.

1 participant