File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1- name : Dependabot Auto Merge
2-
31on :
4- pull_request_target :
2+ pull_request :
53
64permissions :
75 contents : write
86 pull-requests : write
97
108jobs :
119 dependabot :
12- if : github.actor == 'dependabot[bot]'
1310 runs-on : ubuntu-latest
11+ if : github.event.pull_request.user.login == 'dependabot[bot]'
1412 steps :
15- - uses : fastify/github-action-merge-dependabot@v3
13+ - id : metadata
14+ uses : dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
1615 with :
17- github-token : ${{ secrets.GITHUB_TOKEN }}
18- merge-method : squash
19- target : minor
16+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
17+
18+ - if : steps.metadata.outputs.update-type != 'version-update:semver-major'
19+ run : gh pr merge --auto --squash "$PR_URL"
20+ env :
21+ PR_URL : ${{ github.event.pull_request.html_url }}
22+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- name : Build Plugin
2-
31on :
42 workflow_dispatch :
53 push :
You can’t perform that action at this time.
0 commit comments