Skip to content
This repository was archived by the owner on Nov 3, 2022. It is now read-only.

Commit d7dcfc6

Browse files
committed
chore: postinstall for dependabot template-oss PR
1 parent 9def050 commit d7dcfc6

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
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

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
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:
@@ -82,5 +82,5 @@ jobs:
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

.github/workflows/post-dependabot.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ name: Post Dependabot Actions
44

55
on: 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
88
permissions:
9-
actions: write
109
contents: write
1110

1211
jobs:
13-
Install:
12+
template-oss-apply:
1413
runs-on: ubuntu-latest
1514
if: github.actor == 'dependabot[bot]'
1615
steps:
@@ -36,7 +35,7 @@ jobs:
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"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
},
5050
"templateOSS": {
5151
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
52-
"version": "3.2.2"
52+
"version": "3.3.2"
5353
}
5454
}

0 commit comments

Comments
 (0)