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:
17
17
github-token : " ${{ secrets.GITHUB_TOKEN }}"
18
18
19
19
- 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.') }}
21
21
run : gh pr review --approve "$PR_URL"
22
22
env :
23
23
PR_URL : ${{ github.event.pull_request.html_url }}
24
24
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
25
26
26
- 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.') }}
28
28
run : gh pr merge --auto --squash "$PR_URL"
29
29
env :
30
30
PR_URL : ${{ github.event.pull_request.html_url }}
You can’t perform that action at this time.
0 commit comments