Skip to content

Add Dependabot auto-merge#17

Merged
Pigbibi merged 1 commit into
mainfrom
codex/dependabot-auto-merge
May 18, 2026
Merged

Add Dependabot auto-merge#17
Pigbibi merged 1 commit into
mainfrom
codex/dependabot-auto-merge

Conversation

@Pigbibi
Copy link
Copy Markdown
Collaborator

@Pigbibi Pigbibi commented May 18, 2026

Summary

  • auto-merge Dependabot PRs after CI succeeds
  • keep semver-major dependency updates out of automatic merging
  • document merge gate decisions in the workflow summary

Validation

  • basic YAML text checks passed
  • existing CI will run on GitHub with Node 20

Note: local VPS Node is v18.19.1, while this repo targets Node 20 in CI and runtime workflows.

@Pigbibi Pigbibi merged commit 8d0bc13 into main May 18, 2026
1 check passed
@Pigbibi Pigbibi deleted the codex/dependabot-auto-merge branch May 18, 2026 17:46
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 2fdc003eb0

ℹ️ 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".

GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
BRANCH_NAME="${{ github.event.workflow_run.head_branch }}"
PR_NUMBER=$(gh pr list --state open --head "${BRANCH_NAME}" --json number --jq '.[0].number // empty')
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 Pass repository context to gh PR commands

Resolve Dependabot PR calls gh pr list without checking out the repo or providing --repo/GH_REPO, and later steps do the same with gh pr view/gh pr merge. In this workflow there is no checkout step, so these commands can fail when gh cannot infer a local repository, which prevents the auto-merge flow from running at all. Add explicit repo targeting (for example -R "$GITHUB_REPOSITORY") or set GH_REPO for every gh pr invocation.

Useful? React with 👍 / 👎.

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