mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-06 01:05:54 -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
|
uses: dependabot/fetch-metadata@v1
|
||||||
with:
|
with:
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
- name: Approve the PR
|
# This doesn't trigger an automated merge because we require at approvals
|
||||||
run: gh pr review --approve "${PR_URL}"
|
- name: Enable auto-merge
|
||||||
|
run: gh pr merge --auto --squash --delete-branch "${PR_URL}"
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue