From f27ba722981a096f8f649d46ec9baf9f52db3787 Mon Sep 17 00:00:00 2001 From: twoneis Date: Sat, 27 Apr 2024 15:03:27 +0200 Subject: [PATCH] removed bad merge --- .github/workflows/merge.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/merge.yml diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml deleted file mode 100644 index a39134c..0000000 --- a/.github/workflows/merge.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: auto-merge - -on: - pull_request: - branches: [ "main" ] - -jobs: - merge: - runs-on: ubuntu-latest - if: ${{ github.actor == 'github-actions[bot]' }} && ${{ github.event.pull_request.title == 'Update flake.lock' }} - - steps: - - name: Approve PR - run: gh pr review --approve "$PR_URL" - env: - PR_URL: ${{ github.event.pull_request.html_url }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }} - - name: Enable auto-merge for PR - run: gh pr merge --auto --rebase "$PR_URL" - env: - PR_URL: ${{ github.event.pull_request.html_url }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN_FOR_UPDATES }}