Skip to content

chore: update pkgdeps/automerge-gate action to v5#130

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pkgdeps-automerge-gate-5.x
Open

chore: update pkgdeps/automerge-gate action to v5#130
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pkgdeps-automerge-gate-5.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 26, 2026

This PR contains the following updates:

Package Type Update Change
pkgdeps/automerge-gate action major v4.1.0v5.0.0

Release Notes

pkgdeps/automerge-gate (pkgdeps/automerge-gate)

v5.0.0

Compare Source

Breaking Changes

  • ignore-apps input is removed.
  • ignore-checks no longer accepts a comma/newline-separated list — it must be a JSONC array of rule objects.
  • Empty rule objects ({}) are rejected at parse time.
  • Workflow-targeted rules ({ workflow: ... }) require the workflow permissions block to grant actions: read.

Migration

Case 1: ignoring a GitHub App
  - uses: pkgdeps/automerge-gate@v3
    with:
      gate-mode: private
-     ignore-apps: dependabot
+     ignore-checks: |
+       [
+         { "app": "dependabot" }
+       ]
Case 2: ignoring check_runs by name (with a glob)
  - uses: pkgdeps/automerge-gate@v3
    with:
      gate-mode: private
-     ignore-checks: 'optional-*'
+     ignore-checks: |
+       [
+         { "name": "optional-*" }
+       ]
Case 3: combining multiple rules

The old comma/newline list is replaced by one rule object per entry. Each rule can mix app / workflow / name (AND semantics within a rule; rules are OR'd across entries).

  - uses: pkgdeps/automerge-gate@v3
    with:
      gate-mode: private
-     ignore-apps: dependabot
-     ignore-checks: |
-       optional-*
-       Build *
+     ignore-checks: |
+       [
+         { "app": "dependabot" },
+         { "name": "optional-*" },
+         { "app": "xcode-cloud", "name": "Build *" }
+       ]
Case 4 (new): per-workflow rule for monorepos

Two workflows that both expose a lint check_run can now be disambiguated by the workflow file basename. Requires actions: read permission.

  permissions:
    contents: read
    statuses: write
+   actions: read

  steps:
    - uses: pkgdeps/automerge-gate@v3
      with:
        gate-mode: private
+       ignore-checks: |
+         [
+           { "workflow": "ci-go.yaml", "name": "lint" }
+         ]

What's Changed

  • Update automerge-gate version to v4.1.0 by @​azu in #​29
  • docs: Clarify automerge-gate functionality in README by @​azu in #​30
  • test: guard aggregate against same-named check_run collisions by @​azu in #​31
  • feat!: replace ignore-apps/ignore-checks with JSONC object schema by @​azu in #​33

Full Changelog: pkgdeps/automerge-gate@v4.1.0...v5.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants