From 947c69586fdebdc0926d985a97831218888bfead Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Sun, 1 Oct 2023 11:12:11 +0300 Subject: [PATCH] Update dependabot.yml --- .github/workflows/dependabot.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index cdad0a63..c1e293d7 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -16,15 +16,15 @@ jobs: uses: dependabot/fetch-metadata@v1 - name: Approve PR - if: ${{contains(steps.metadata.outputs.dependency-names, 'Z.EntityFramework.Plus.EFCore') && ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }} + if: ${{ contains(steps.metadata.outputs.dependency-names, 'Z.EntityFramework.Plus.EFCore') && steps.metadata.outputs.update-type != 'version-update:semver-major' }} run: gh pr review --approve "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Enable auto-merge for Dependabot PRs - if: ${{contains(steps.metadata.outputs.dependency-names, 'Z.EntityFramework.Plus.EFCore') && steps.metadata.outputs.update-type != 'version-update:semver-major'}} + if: ${{ contains(steps.metadata.outputs.dependency-names, 'Z.EntityFramework.Plus.EFCore') && steps.metadata.outputs.update-type != 'version-update:semver-major' }} run: gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + GH_TOKEN: ${{secrets.GITHUB_TOKEN}}