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 @@ -17,14 +17,14 @@ jobs:
1717 github-token : " ${{ secrets.GITHUB_TOKEN }}"
1818
1919 - name : Approve a PR
20- if : ${{ steps.dependabot- metadata.outputs.update-type != 'version-update:semver-major' }}
20+ if : ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' && !startswith(steps.metadata.outputs.new_version, '0.') }}
2121 run : gh pr review --approve "$PR_URL"
2222 env :
2323 PR_URL : ${{ github.event.pull_request.html_url }}
2424 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2525
2626 - name : Enable auto-merge for Dependabot PRs
27- if : ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
27+ if : ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' && !startswith(steps.metadata.outputs.new_version, '0.') }}
2828 run : gh pr merge --auto --squash "$PR_URL"
2929 env :
3030 PR_URL : ${{ github.event.pull_request.html_url }}
You can’t perform that action at this time.
0 commit comments