File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 18
18
with :
19
19
github-token : " ${{ secrets.GITHUB_TOKEN }}"
20
20
- name : Enable auto-merge for mypy-boto3 stubs Dependabot PRs
21
- if : ${{contains(steps.metadata.outputs.dependency-names, 'mypy-boto3')}} # && steps.metadata.outputs.update-type == 'version-update:semver-patch'
21
+ if : ${{ contains(steps.metadata.outputs.dependency-names, 'mypy-boto3') && steps.metadata.outputs.update-type != 'version-update:semver-major' }}
22
+ run : gh pr merge --auto --squash "$PR_URL"
23
+ env :
24
+ PR_URL : ${{github.event.pull_request.html_url}}
25
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
26
+ # Maintenance: Experiment with literal array (toJSON('["dep1", "dep2"]')) to ease extending it
27
+ - name : Enable auto-merge for CDK Construct Lambda Layer Dependabot PRs
28
+ if : ${{ contains(steps.metadata.outputs.dependency-names, 'cdk-lambda-powertools-python-layer') && steps.metadata.outputs.update-type != 'version-update:semver-major' }}
29
+ run : gh pr merge --auto --squash "$PR_URL"
30
+ env :
31
+ PR_URL : ${{github.event.pull_request.html_url}}
32
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
33
+ # Maintenance: Revisit if CDK Constructs make breaking changes like CDK v1
34
+ - name : Enable auto-merge for CDK Lib Construct
35
+ if : ${{ contains(steps.metadata.outputs.dependency-names, 'aws-cdk-lib') && steps.metadata.outputs.update-type != 'version-update:semver-major' }}
22
36
run : gh pr merge --auto --squash "$PR_URL"
23
37
env :
24
38
PR_URL : ${{github.event.pull_request.html_url}}
You can’t perform that action at this time.
0 commit comments