Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/nuget/Microsoft.NET.Test.Sdk-17…
Browse files Browse the repository at this point in the history
….8.0
  • Loading branch information
hf-kklein authored Dec 4, 2023
2 parents 207de81 + 589cbe4 commit ce3bcc7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/dependabot_automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Dependabot auto-approve / -merge
on: pull_request

jobs:
dependabot:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --squash "$PR_URL"

0 comments on commit ce3bcc7

Please sign in to comment.