Skip to content

Add Dependabot auto-merge#54

Merged
Pigbibi merged 1 commit into
mainfrom
chore/dependabot-auto-merge
May 12, 2026
Merged

Add Dependabot auto-merge#54
Pigbibi merged 1 commit into
mainfrom
chore/dependabot-auto-merge

Conversation

@Pigbibi
Copy link
Copy Markdown
Collaborator

@Pigbibi Pigbibi commented May 12, 2026

Enable automatic merging for Dependabot PRs after CI succeeds, and suppress semver major dependency updates for safety.

@Pigbibi Pigbibi merged commit 5386058 into main May 12, 2026
1 check passed
@Pigbibi Pigbibi deleted the chore/dependabot-auto-merge branch May 12, 2026 01:44
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: d47ea59942

ℹ️ 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 commands

This job never checks out the repository and also doesn't pass --repo/GH_REPO, but it invokes gh pr subcommands that operate on a local repo context by default. In a fresh GitHub Actions workspace, gh pr list/view/merge can fail before any merge logic runs, so Dependabot PRs will not be auto-merged. The GitHub CLI docs explicitly call out GH_REPO for commands that otherwise use a local repository, so this workflow should either add actions/checkout or provide explicit repo context on each gh call.

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