From d255667dfb5ff4a7dedfe60f7e9222c9c6c72041 Mon Sep 17 00:00:00 2001 From: Jan Raasch <425211+janraasch@users.noreply.github.com> Date: Tue, 23 Jan 2024 11:46:13 +0100 Subject: Move auto-merge to separate workflow --- .github/workflows/ci.yml | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c0820d8..581a78f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,29 +31,6 @@ jobs: name: build path: ./public - dependabot: - name: Dependabot Auto-Merge - needs: build - runs-on: ubuntu-latest - permissions: - issues: write - pull-requests: write - if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}} - steps: - - name: Dependabot metadata - id: dependabot-metadata - uses: dependabot/fetch-metadata@v1 - with: - github-token: '${{ secrets.GITHUB_TOKEN }}' - - name: Enable auto-merge for Dependabot PRs - if: contains(fromJSON('["version-update:semver-patch", "version-update:semver-minor"]'), steps.dependabot-metadata.outputs.update-type) - run: | - gh pr review --approve "$PR_URL" - gh pr merge --auto --squash "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - deploy: needs: build name: Deploy to GitHub Pages -- cgit v1.2.3