Skip to content

Commit

Permalink
build: remove branch protection check from auto merge job
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuDa committed Jan 17, 2024
1 parent daec78b commit 4abc9e5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4abc9e5

Please sign in to comment.