Skip to content

Commit e7c3973

Browse files
committedApr 10, 2022
chore: postinstall for dependabot template-oss PR
1 parent a683bf9 commit e7c3973

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed
 

‎.github/workflows/audit.yml

+1-1
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

+2-2
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:
@@ -81,5 +81,5 @@ jobs:
8181
if: ${{ !startsWith(matrix.node-version, '10.') }}
8282
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
8383
- run: npm -v
84-
- run: npm i --ignore-scripts
84+
- run: npm i --ignore-scripts --no-audit --no-fund
8585
- run: npm test --ignore-scripts

‎.github/workflows/post-dependabot.yml

+3-4
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"author": "GitHub Inc.",
5353
"templateOSS": {
5454
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
55-
"version": "3.2.2",
55+
"version": "3.3.2",
5656
"engines": ">=10",
5757
"ciVersions": [
5858
"10.0.0",

0 commit comments

Comments
 (0)
Please sign in to comment.