File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ jobs:
2424
2525 # Here the PR gets approved.
2626 - name : Approve a PR
27- if : ${{ steps.meta.outputs.update-type == 'version-update:semver-patch' || (!startsWith(steps.meta.outputs.previous-version, '0.') && steps.meta.outputs.update-type == 'version-update:semver-minor') }}
27+ if : ${{ steps.meta.outputs.update-type == null || steps.meta.outputs.update-type == 'version-update:semver-patch' || (!startsWith(steps.meta.outputs.previous-version, '0.') && steps.meta.outputs.update-type == 'version-update:semver-minor') }}
2828 run : gh pr review --approve "${{ github.event.pull_request.html_url }}"
2929 env :
3030 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3131
3232 # Finally, this sets the PR to allow auto-merging for patch and minor
3333 # updates if all checks pass
3434 - name : Enable auto-merge for Dependabot PRs
35- if : ${{ steps.meta.outputs.update-type == 'version-update:semver-patch' || (!startsWith(steps.meta.outputs.previous-version, '0.') && steps.meta.outputs.update-type == 'version-update:semver-minor') }}
35+ if : ${{ steps.meta.outputs.update-type == null || steps.meta.outputs.update-type == 'version-update:semver-patch' || (!startsWith(steps.meta.outputs.previous-version, '0.') && steps.meta.outputs.update-type == 'version-update:semver-minor') }}
3636 run : gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}"
3737 env :
3838 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments