Skip to content

Commit

Permalink
chore: Squash merge dependabot PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ffflorian committed Jul 22, 2021
1 parent 86979b9 commit 23c7f6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.WEBTEAM_AUTOMERGE_TOKEN}}
GITHUB_TOKEN: '${{secrets.WEBTEAM_AUTOMERGE_TOKEN}}'

- name: Enable auto-merge for Dependabot PRs
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
run: gh pr merge --auto --squash --merge "$PR_URL"
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.WEBTEAM_AUTOMERGE_TOKEN}}
GITHUB_TOKEN: '${{secrets.WEBTEAM_AUTOMERGE_TOKEN}}'

0 comments on commit 23c7f6a

Please sign in to comment.