ci: auto-merge only the minor-patch group and drop the renovate stub
This commit is contained in:
1 parent
ac6a04b0f4
commit
c198f26a86
2 files changed
+1
-5
No files matched your search
@@ -8,14 +8,13 @@ permissions:
|
||||
|
||||
jobs:
|
||||
auto-merge:
|
||||
name: Auto-merge
|
||||
if: github.event.pull_request.user.login == 'dependabot[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: meta
|
||||
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3
|
||||
# Waits for the ruleset's required checks
|
||||
- if: steps.meta.outputs.update-type != 'version-update:semver-major' && steps.meta.outputs.dependency-group != 'toolchain'
|
||||
- if: steps.meta.outputs.dependency-group == 'minor-patch' && contains(fromJSON('["version-update:semver-minor", "version-update:semver-patch"]'), steps.meta.outputs.update-type)
|
||||
run: gh pr merge --auto --squash "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"enabled": false
|
||||
}
|
||||
Reference in new issue
Block a user