summaryrefslogtreecommitdiff
path: root/.github/workflows/autobot.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-27 17:45:50 -0500
committerseth <[email protected]>2023-11-27 17:45:50 -0500
commit27dbb18788d807117b4ab2ab3c63713460665c1f (patch)
treef8eda3003c02ccaabbd9b257d9c7f47228716daf /.github/workflows/autobot.yaml
parent0ee00e040c4c0b466825e9207e9899fc6a64160f (diff)
actions: reformat workflows
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 }}