From f53635204f71fcb2f968006d279988a09a8d6124 Mon Sep 17 00:00:00 2001 From: Eric Deandrea Date: Mon, 16 Oct 2023 08:18:00 -0400 Subject: [PATCH] Deleting dependabot automerge --- .github/workflows/dependabot-automerge.yml | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/dependabot-automerge.yml diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml deleted file mode 100644 index 1705534e3..000000000 --- a/.github/workflows/dependabot-automerge.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Dependabot auto-merge - -on: pull_request_target - -permissions: - contents: read - pull-requests: read - -jobs: - dependabot: - runs-on: ubuntu-latest - if: github.actor == 'dependabot[bot]' - steps: - - name: Generate token - id: generate_token - uses: tibdex/github-app-token@v2.1.0 - with: - app_id: ${{ secrets.AUTOMERGE_BOT_APP_ID }} - private_key: ${{ secrets.AUTOMERGE_BOT_PRIVATE_KEY }} - - - name: Dependabot metadata - id: metadata - uses: dependabot/fetch-metadata@v1 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - - - name: Authenticate cli - run: echo "${{ steps.generate_token.outputs.token }}" | gh auth login --with-token - - - name: Enable auto-merge for Dependabot PRs - if: (steps.metadata.outputs.update-type == 'version-update:semver-major') || (steps.metadata.outputs.update-type == 'version-update:semver-minor') || (steps.metadata.outputs.update-type == 'version-update:semver-patch') - env: - PR_URL: ${{ github.event.pull_request.html_url }} - run: gh pr merge --auto --merge "$PR_URL"