From 0eb52083311b0ef2feb3c7363741b91768f32420 Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Mon, 20 Jan 2025 22:45:31 +0100 Subject: [PATCH] Revert "ci(dependabot): enable auto-merge for upgrades" This reverts commit 66d9c4469c18f1878b9b867b9ec32dd20190286b. --- .github/workflows/dependabot-automerge.yaml | 29 --------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/dependabot-automerge.yaml diff --git a/.github/workflows/dependabot-automerge.yaml b/.github/workflows/dependabot-automerge.yaml deleted file mode 100644 index db27fae07e..0000000000 --- a/.github/workflows/dependabot-automerge.yaml +++ /dev/null @@ -1,29 +0,0 @@ -name: Dependabot auto-merge - -on: - pull_request: - branches: - - 'main' - -permissions: - contents: read # for actions/checkout to fetch code - -jobs: - dependabot: - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'weaveworks/weave-gitops' - steps: - - name: Dependabot metadata - id: metadata - uses: dependabot/fetch-metadata@dbb049abf0d677abbd7f7eee0375145b417fdd34 # v2.2.0 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - - name: Enable auto-merge for Dependabot PRs - if: steps.metadata.outputs.update-type == 'version-update:semver-minor' - env: - PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} - run: gh pr merge --auto --rebase "$PR_URL"