Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
Fixed automatic merging of Dependabot-approved pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Aug 31, 2023
1 parent 5457ec4 commit b9ce1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
if: ${{ ( github.event.review.state == 'approved' && steps.metadata.outputs.update-type == 'version-update:semver-major' ) || steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
if: ${{ github.event.review.state == 'approved' || steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
Expand Down

0 comments on commit b9ce1fb

Please sign in to comment.