chore(ci): remove unused dependabot action
This commit is contained in:
parent
0f65847815
commit
29d7ceef5d
1 changed files with 0 additions and 28 deletions
28
.github/workflows/autobot.yaml
vendored
28
.github/workflows/autobot.yaml
vendored
|
@ -1,28 +0,0 @@
|
||||||
name: Auto-merge Dependabot
|
|
||||||
|
|
||||||
on: pull_request
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
automerge:
|
|
||||||
name: Check and merge PR
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
if: github.actor == 'dependabot[bot]'
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: dependabot/fetch-metadata@v2
|
|
||||||
id: metadata
|
|
||||||
with:
|
|
||||||
github-token: ${{ github.token }}
|
|
||||||
|
|
||||||
# auto merge minor releases
|
|
||||||
- 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:
|
|
||||||
GH_TOKEN: ${{ github.token }}
|
|
||||||
PR: ${{ github.event.pull_request.html_url }}
|
|
Loading…
Add table
Add a link
Reference in a new issue