Skip to content

Commit cbcdf58

Browse files
authored
Automerge safe dependencies (#657)
Simplify dependency management by automatically merging safe dependencies. Automatically closes pull requests for plugin BOM updates if they pass automated tests. That avoids dependency updates in the plugin that might make other maintenance more difficult. Uses the GitHub Action defined in pull request: * jenkins-infra/github-reusable-workflows#48 The pull request is associated with GitHub issue: * jenkins-infra/github-reusable-workflows#35 Testing done: * None. Rely on testing done in other repositories # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # Date: Fri May 15 12:43:34 2026 -0600 # # On branch update-dependency-handling # Changes to be committed: # new file: .github/workflows/auto-merge-safe-deps.yml # new file: .github/workflows/close-bom-if-passing.yml #
1 parent f3910d1 commit cbcdf58

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Automatically approve and merge safe dependency updates
2+
on:
3+
- pull_request_target
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
jobs:
8+
auto-merge-safe-deps:
9+
uses: jenkins-infra/github-reusable-workflows/.github/workflows/auto-merge-safe-deps.yml@v1
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Close BOM update PR if passing
2+
on:
3+
check_run:
4+
types:
5+
- completed
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
jobs:
10+
close-bom-if-passing:
11+
uses: jenkins-infra/github-reusable-workflows/.github/workflows/close-bom-if-passing.yml@v1

0 commit comments

Comments
 (0)