mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 21:50:59 -05:00
ci: enable auto-merge for dependabot pull requests (#5063)
Enabling auto-merge doesn't actually merge these PRs because we still require approvals.
This commit is contained in:
parent
df6543f763
commit
59154bf97f
1 changed files with 3 additions and 2 deletions
5
.github/workflows/dependabot-automation.yaml
vendored
5
.github/workflows/dependabot-automation.yaml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
|||
uses: dependabot/fetch-metadata@v1
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
- name: Approve the PR
|
||||
run: gh pr review --approve "${PR_URL}"
|
||||
# This doesn't trigger an automated merge because we require at approvals
|
||||
- name: Enable auto-merge
|
||||
run: gh pr merge --auto --squash --delete-branch "${PR_URL}"
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue