From f07af4c269be0a1f4acf805b7e2cedd5330f04a8 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Fri, 12 Jan 2024 09:21:20 -0300 Subject: [PATCH] ci: remove dependabot auto approve it doesnt work Signed-off-by: Carlos Alexandro Becker --- .github/workflows/dependabot.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml deleted file mode 100644 index 26a019dd9..000000000 --- a/.github/workflows/dependabot.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Dependabot auto-approve and auto-merge -on: pull_request - -permissions: - pull-requests: write - -jobs: - dependabot: - runs-on: ubuntu-latest - if: github.actor == 'dependabot[bot]' - steps: - - id: metadata - uses: dependabot/fetch-metadata@v1 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - - run: gh pr review --approve "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} - - run: gh pr merge --auto --merge "$PR_URL" - if: steps.metadata.outputs.update-type == 'version-update:semver-patch' - env: - PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}}