Skip to content

ci: auto-merge minor and patch Dependabot updates #150

Closed

Description

@polaz

Problem

Dependabot pull requests stay open after CI passes (e.g. #146): nothing enables auto-merge, so every update is merged by hand. The other structured-world repositories run a dependabot-auto-merge.yml workflow for this.

Solution

Add the same workflow: on a Dependabot pull request it approves and enables squash auto-merge for semver-minor and semver-patch updates, pinned to the inspected head; a push by anyone else disarms auto-merge. It runs on pull_request_target without checking out pull request code, using the organisation's release App token.

Acceptance criteria

  • A minor/patch Dependabot PR merges by itself once the required checks pass.
  • A major update is left for manual review.
  • A foreign push to a Dependabot branch disarms auto-merge.

Activity

  1. added a commit that references this issue on Oct 19, 2026
    a21b257
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions