summaryrefslogtreecommitdiff
path: root/.github/workflows/autobot.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/autobot.yaml')
-rw-r--r--.github/workflows/autobot.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/autobot.yaml b/.github/workflows/autobot.yaml
index 328113f..e0e4ccf 100644
--- a/.github/workflows/autobot.yaml
+++ b/.github/workflows/autobot.yaml
@@ -1,9 +1,10 @@
-name: auto-merge dependabot
+name: Auto-merge Dependabot
on: pull_request
jobs:
automerge:
+ name: Check and merge PR
runs-on: ubuntu-latest
permissions:
@@ -18,9 +19,9 @@ jobs:
with:
github-token: ${{ github.token }}
- - name: enable auto-merge
- if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
+ - name: Enable auto-merge
+ if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
run: gh pr merge --auto --rebase "$PR"
env:
- PR: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ github.token }}
+ PR: ${{ github.event.pull_request.html_url }}