File tree Expand file tree Collapse file tree 1 file changed +9
-18
lines changed
Expand file tree Collapse file tree 1 file changed +9
-18
lines changed Original file line number Diff line number Diff line change 11# Taken from https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions
22# and https://github.com/dependabot/fetch-metadata/blob/06ea45a2e4582d87b11f03c7ce596ae3261f39f6/README.md?plain=1#L133-L160
3- name : Dependabot auto -merge
3+ name : Auto -merge Dependabot Pull Request
44
55on : pull_request
66
77concurrency :
88 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
99 cancel-in-progress : true
1010
11- permissions :
12- contents : write
13- pull-requests : write
11+ permissions : {}
1412
1513jobs :
1614 dependabot :
17- runs-on : ubuntu-latest
18- if : github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'typisttech/comver'
19- steps :
20- - name : Dependabot metadata
21- id : dependabot-metadata
22- uses : dependabot/fetch-metadata@v2
23- with :
24- github-token : " ${{ secrets.GITHUB_TOKEN }}"
25- - name : Enable auto-merge for Dependabot PRs
26- if : steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'
27- run : gh pr merge --auto --merge "$PR_URL"
28- env :
29- PR_URL : ${{github.event.pull_request.html_url}}
30- GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
15+ permissions :
16+ contents : write
17+ pull-requests : write
18+ uses : typisttech/.github/.github/workflows/dependabot-auto-merge.yml@v1
19+ with :
20+ minor : true
21+ patch : true
You can’t perform that action at this time.
0 commit comments