diff --git a/.github/workflows/dependabotautomerge.yml b/.github/workflows/dependabotautomerge.yml deleted file mode 100644 index b3d52ed..0000000 --- a/.github/workflows/dependabotautomerge.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Auto-merge Dependabot PRs - -on: - pull_request: - types: [opened, synchronize, reopened] - -permissions: - contents: write - pull-requests: write - -jobs: - automerge: - if: github.event.pull_request.user.login == 'dependabot[bot]' - runs-on: ubuntu-latest - - steps: - - name: Debug token presence - run: | - if [ -z "${{ secrets.GITHUB_TOKEN }}" ]; then - echo "TOKEN IS EMPTY" - exit 1 - else - echo "TOKEN EXISTS" - fi - - - name: Auto-merge - if: contains(github.event.pull_request.labels.*.name, 'auto-merge') - uses: fastify/github-action-merge-dependabot@v3 - with: - github-token: ${{ secrets.GH_TOKEN }}