Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Oct 2, 2023
2 parents af4961a + 5f1497f commit 34a89b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
Expand Down

0 comments on commit 34a89b5

Please sign in to comment.