File tree Expand file tree Collapse file tree 2 files changed +35
-11
lines changed Expand file tree Collapse file tree 2 files changed +35
-11
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
updates :
3
- - package-ecosystem : npm
4
- directory : " /"
5
- schedule :
6
- interval : monthly
7
- time : " 21:00"
8
- timezone : Asia/Shanghai
9
- open-pull-requests-limit : 10
10
- reviewers :
11
- - gengjiawen
12
- versioning-strategy : increase
13
-
3
+ - package-ecosystem : npm
4
+ directory : ' /'
5
+ schedule :
6
+ interval : monthly
7
+ time : ' 21:00'
8
+ timezone : Asia/Shanghai
9
+ open-pull-requests-limit : 10
10
+ reviewers :
11
+ - gengjiawen
12
+ versioning-strategy : increase
Original file line number Diff line number Diff line change
1
+ # https://github.com/dependabot/dependabot-core/issues/1736
2
+ name : Dependabot
3
+ on : pull_request_target
4
+ permissions : read-all
5
+ jobs :
6
+ update-lockfile :
7
+ runs-on : ubuntu-latest
8
+ if : ${{ github.actor == 'dependabot[bot]' }}
9
+ permissions :
10
+ pull-requests : write
11
+ contents : write
12
+ steps :
13
+ - uses : pnpm/action-setup@v2
14
+ with :
15
+ version : ^7
16
+ - uses : actions/checkout@v3
17
+ with :
18
+ ref : ${{ github.event.pull_request.head.ref }}
19
+ - run : pnpm i --lockfile-only
20
+ - run : |
21
+ git config --global user.name github-actions[bot]
22
+ git config --global user.email github-actions[bot]@users.noreply.github.com
23
+ git add pnpm-lock.yaml
24
+ git commit -m "Update pnpm-lock.yaml"
25
+ git push
You can’t perform that action at this time.
0 commit comments