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.yaml28
1 files changed, 0 insertions, 28 deletions
diff --git a/.github/workflows/autobot.yaml b/.github/workflows/autobot.yaml
deleted file mode 100644
index 4e74d0a..0000000
--- a/.github/workflows/autobot.yaml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Auto-merge Dependabot
-
-on: pull_request
-
-jobs:
- automerge:
- name: Check and merge PR
- if: github.actor == 'dependabot[bot]'
-
- runs-on: ubuntu-latest
-
- permissions:
- contents: write
- pull-requests: write
-
- steps:
- - name: Fetch metadata
- uses: dependabot/fetch-metadata@v2
- id: metadata
- with:
- github-token: ${{ github.token }}
-
- - 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 --squash "$PR"
- env:
- GH_TOKEN: ${{ github.token }}
- PR: ${{ github.event.pull_request.html_url }}