File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ enable-beta-ecosystems : true
3+
4+ updates :
5+ - package-ecosystem : " github-actions"
6+ directory : " /"
7+ schedule :
8+ interval : " daily"
9+
10+ - package-ecosystem : " npm"
11+ directory : " /"
12+ schedule :
13+ interval : " daily"
14+ versioning-strategy : increase
Original file line number Diff line number Diff line change 1+ name : Dependabot
2+
3+ concurrency :
4+ group : Dependabot-${{ github.workflow }}-${{ github.ref }}
5+ cancel-in-progress : true
6+
7+ permissions :
8+ security-events : write
9+ contents : write
10+ pull-requests : write
11+
12+ on :
13+ workflow_dispatch :
14+ pull_request :
15+
16+ jobs :
17+ Approve :
18+ runs-on : ubuntu-latest
19+
20+ if : ${{ github.actor == 'dependabot[bot]' }}
21+
22+ steps :
23+ -
uses :
dependabot/[email protected] 24+ with :
25+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
26+
27+ - run : gh pr review --approve "$PR_URL"
28+ env :
29+ PR_URL : ${{github.event.pull_request.html_url}}
30+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
31+
32+ Merge :
33+ runs-on : ubuntu-latest
34+
35+ if : ${{ github.actor == 'dependabot[bot]' }}
36+
37+ steps :
38+ -
uses :
dependabot/[email protected] 39+ with :
40+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
41+
42+ - run : gh pr merge --auto --merge "$PR_URL"
43+ env :
44+ PR_URL : ${{github.event.pull_request.html_url}}
45+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments