We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec8c877 + daa9662 commit f4dce15Copy full SHA for f4dce15
.github/workflows/99-auto-merge.yml
@@ -8,17 +8,20 @@ jobs:
8
runs-on: ubuntu-latest
9
if: ${{ github.actor == 'dependabot[bot]' }}
10
steps:
11
- - name: ⬇ Dependabot metadata
+ - name: ⏬ Dependabot metadata
12
id: metadata
13
uses: dependabot/fetch-metadata@v2
14
with:
15
github-token: "${{ secrets.GITHUB_TOKEN }}"
16
+
17
- name: ✔ Approve a PR
18
run: gh pr review --approve "$PR_URL"
19
env:
20
PR_URL: ${{github.event.pull_request.html_url}}
21
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
22
23
- name: 🤖 Enable auto-merge for Dependabot PRs
24
+ if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
25
run: gh pr merge --auto --squash "$PR_URL"
26
27
0 commit comments