File tree Expand file tree Collapse file tree 6 files changed +21
-21
lines changed Expand file tree Collapse file tree 6 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ jobs:
1515 - uses : actions/checkout@v3
1616 - name : Setup git user
1717 run : |
18- git config --global user.email "ops+ npm-cli@npmjs.com "
19- git config --global user.name "npm cli ops bot "
18+ git config --global user.email "npm team "
19+ git config --global user.name "ops+robot@npmjs.com "
2020 - uses : actions/setup-node@v3
2121 with :
2222 node-version : 16.x
2323 - name : Update npm to latest
2424 run : npm i --prefer-online --no-fund --no-audit -g npm@latest
2525 - run : npm -v
26- - run : npm i --ignore-scripts --package-lock
26+ - run : npm i --ignore-scripts --no-audit --no-fund -- package-lock
2727 - run : npm audit
Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ jobs:
2222 - uses : actions/checkout@v3
2323 - name : Setup git user
2424 run : |
25- git config --global user.email "ops+ npm-cli@npmjs.com "
26- git config --global user.name "npm cli ops bot "
25+ git config --global user.email "npm team "
26+ git config --global user.name "ops+robot@npmjs.com "
2727 - uses : actions/setup-node@v3
2828 with :
2929 node-version : 16.x
3030 - name : Update npm to latest
3131 run : npm i --prefer-online --no-fund --no-audit -g npm@latest
3232 - run : npm -v
33- - run : npm i --ignore-scripts
33+ - run : npm i --ignore-scripts --no-audit --no-fund
3434 - run : npm run lint
3535
3636 test :
5959 - uses : actions/checkout@v3
6060 - name : Setup git user
6161 run : |
62- git config --global user.email "ops+ npm-cli@npmjs.com "
63- git config --global user.name "npm cli ops bot "
62+ git config --global user.email "npm team "
63+ git config --global user.name "ops+robot@npmjs.com "
6464 - uses : actions/setup-node@v3
6565 with :
6666 node-version : ${{ matrix.node-version }}
8282 if : ${{ !startsWith(matrix.node-version, '10.') }}
8383 run : npm i --prefer-online --no-fund --no-audit -g npm@latest
8484 - run : npm -v
85- - run : npm i --ignore-scripts
85+ - run : npm i --ignore-scripts --no-audit --no-fund
8686 - run : npm test --ignore-scripts
Original file line number Diff line number Diff line change 3434 - uses : actions/checkout@v3
3535 - name : Setup git user
3636 run : |
37- git config --global user.email "ops+ npm-cli@npmjs.com "
38- git config --global user.name "npm cli ops bot "
37+ git config --global user.email "npm team "
38+ git config --global user.name "ops+robot@npmjs.com "
3939 - name : Initialize CodeQL
4040 uses : github/codeql-action/init@v1
4141 with :
Original file line number Diff line number Diff line change @@ -4,21 +4,20 @@ name: Post Dependabot Actions
44
55on : pull_request
66
7- # https://docs.github.com/en/rest/overview/permissions-required -for-github-apps
7+ # https://docs.github.com/en/actions/using-workflows/workflow-syntax -for-github-actions#permissions
88permissions :
9- actions : write
109 contents : write
1110
1211jobs :
13- Install :
12+ template-oss-apply :
1413 runs-on : ubuntu-latest
1514 if : github.actor == 'dependabot[bot]'
1615 steps :
1716 - uses : actions/checkout@v3
1817 - name : Setup git user
1918 run : |
20- git config --global user.email "ops+ npm-cli@npmjs.com "
21- git config --global user.name "npm cli ops bot "
19+ git config --global user.email "npm team "
20+ git config --global user.name "ops+robot@npmjs.com "
2221 - uses : actions/setup-node@v3
2322 with :
2423 node-version : 16.x
3635 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3736 run : |
3837 gh pr checkout ${{ github.event.pull_request.number }}
39- npm install --ignore-scripts
38+ npm install --ignore-scripts --no-audit --no-fund
4039 npm run template-oss-apply
4140 git add .
4241 git commit -am "chore: postinstall for dependabot template-oss PR"
4342 git push
43+ npm run lint
Original file line number Diff line number Diff line change 2020 fetch-depth : 0
2121 - name : Setup git user
2222 run : |
23- git config --global user.email "ops+ npm-cli@npmjs.com "
24- git config --global user.name "npm cli ops bot "
23+ git config --global user.email "npm team "
24+ git config --global user.name "ops+robot@npmjs.com "
2525 - uses : actions/setup-node@v3
2626 with :
2727 node-version : 16.x
Original file line number Diff line number Diff line change 3333 "devDependencies" : {
3434 "@npmcli/config" : " ^4.0.1" ,
3535 "@npmcli/eslint-config" : " ^3.0.1" ,
36- "@npmcli/template-oss" : " 3.2 .1" ,
36+ "@npmcli/template-oss" : " 3.4 .1" ,
3737 "tap" : " ^16.0.1"
3838 },
3939 "engines" : {
6060 ],
6161 "templateOSS" : {
6262 "//@npmcli/template-oss" : " This file is partially managed by @npmcli/template-oss. Edits may be overwritten." ,
63- "version" : " 3.2 .1"
63+ "version" : " 3.4 .1"
6464 }
6565}
You can’t perform that action at this time.
0 commit comments