File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ permissions:
55 contents : write
66 pull-requests : write
77
8+ # This workflow enables auto-merge for Dependabot PRs
9+ # https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
810jobs :
911 dependabot :
1012 runs-on : ubuntu-latest
1517 uses : dependabot/fetch-metadata@v1
1618 with :
1719 github-token : " ${{ secrets.GITHUB_TOKEN }}"
18- - name : Approve a PR
19- run : gh pr review --approve "$PR_URL"
20- env :
21- PR_URL : ${{github.event.pull_request.html_url}}
22- GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
2320 - name : Enable auto-merge for Dependabot PRs
24- if : contains(steps.metadata.outputs.dependency-names, '@seamapi/* ')
21+ if : contains(steps.metadata.outputs.dependency-names, '@seamapi/')
2522 run : gh pr merge --auto --merge "$PR_URL"
2623 env :
2724 PR_URL : ${{github.event.pull_request.html_url}}
You can’t perform that action at this time.
0 commit comments