From 4abc9e5d339cec733274b17285294d7bedd61303 Mon Sep 17 00:00:00 2001 From: Daniel Reuter Date: Wed, 17 Jan 2024 06:59:11 +0100 Subject: [PATCH] build: remove branch protection check from auto merge job --- .github/workflows/dependabot-auto-merge.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index c7b008e..dcb02d7 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -19,10 +19,6 @@ jobs: uses: dependabot/fetch-metadata@v1 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - - name: Delete this step after you've created the branch protection rules! - # extension-scaffold should always run, even with this security step. In all other repos the user has to manually delete the step. `format` to prevent a "change all" text replacement. - if: ${{github.event.repository.name != format('extension-{0}{1}','scaf', 'fold')}} - run: exit 1 - name: Enable auto-merge for Dependabot PRs if: ${{steps.metadata.outputs.package-ecosystem == 'github_actions' || (steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch')}} run: gh pr merge --auto --merge "$PR_URL"