Skip to content

Commit

Permalink
dependabot auto merge (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiyvamz authored Jul 6, 2023
1 parent 9ca5013 commit a123789
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
workflow_dispatch:
pull_request:

permissions:
contents: write
pull-requests: write

jobs:
worker:
runs-on: ubuntu-latest
Expand All @@ -17,7 +21,6 @@ jobs:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve PR
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
permissions: write-all
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
Expand Down

0 comments on commit a123789

Please sign in to comment.