diff --git a/.github/mergify.yml b/.github/mergify.yml deleted file mode 100644 index b89262b015..0000000000 --- a/.github/mergify.yml +++ /dev/null @@ -1,21 +0,0 @@ -pull_request_rules: - - name: dependabot - conditions: - - author=dependabot[bot] - actions: - queue: - name: default - method: squash - - name: merge - conditions: - - label=merge - - or: - - author=raviqqe - - "#approved-reviews-by>=1" - actions: - queue: - name: default - method: squash -queue_rules: - - name: default - conditions: [] diff --git a/.github/workflows/dependabot.yaml b/.github/workflows/dependabot.yaml new file mode 100644 index 0000000000..b4e087b30f --- /dev/null +++ b/.github/workflows/dependabot.yaml @@ -0,0 +1,13 @@ +name: dependabot +on: pull_request +permissions: + contents: write + pull-requests: write +jobs: + merge: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + steps: + - run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}