Commit a0634a0 1 parent 9909705 commit a0634a0 Copy full SHA for a0634a0
File tree 2 files changed +37
-1
lines changed
2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Auto-merge Dependabot Pull Requests
3
+ on : pull_request_target
4
+
5
+ permissions :
6
+ contents : write
7
+ issues : write
8
+ pull-requests : write
9
+ repository-projects : write
10
+
11
+ jobs :
12
+ dependabot :
13
+ runs-on : ubuntu-latest
14
+ if : ${{ github.actor == 'dependabot[bot]' }}
15
+ steps :
16
+ - name : Dependabot metadata
17
+ id : metadata
18
+ uses :
dependabot/[email protected]
19
+ with :
20
+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
21
+
22
+ - name : Auto-merge Dependabot PRs for semver-minor updates
23
+ if : ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
24
+ env :
25
+ PR_URL : ${{github.event.pull_request.html_url}}
26
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
27
+ run : |
28
+ gh pr merge --auto --squash "${PR_URL}"
29
+
30
+ - name : Auto-merge Dependabot PRs for semver-patch updates
31
+ if : ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
32
+ env :
33
+ PR_URL : ${{github.event.pull_request.html_url}}
34
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
35
+ run : |
36
+ gh pr merge --auto --squash "${PR_URL}"
Original file line number Diff line number Diff line change 50
50
- name : Run Markdownlint
51
51
run : |
52
52
npm exec -y -- \
53
- markdownlint-cli@0.39 .0 \
53
+ markdownlint-cli@0.40 .0 \
54
54
--ignore=node_modules \
55
55
--ignore=.github \
56
56
--ignore=.templates \
You can’t perform that action at this time.
0 commit comments