Skip to content

Commit c1d1952

Browse files
committed
chore: postinstall for dependabot template-oss PR
1 parent 3979088 commit c1d1952

File tree

8 files changed

+37
-25
lines changed

8 files changed

+37
-25
lines changed

.github/workflows/audit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
uses: actions/setup-node@v3
2828
with:
2929
node-version: 18.x
30-
- name: Install npm@latest
31-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
30+
- name: Install npm@8
31+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
3232
- name: npm Version
3333
run: npm -v
3434
- name: Install Dependencies

.github/workflows/ci-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ jobs:
8282
uses: actions/setup-node@v3
8383
with:
8484
node-version: 18.x
85-
- name: Install npm@latest
86-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
85+
- name: Install npm@8
86+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
8787
- name: npm Version
8888
run: npm -v
8989
- name: Install Dependencies
@@ -196,9 +196,9 @@ jobs:
196196
- name: Install npm@7
197197
if: startsWith(matrix.node-version, '10.')
198198
run: npm i --prefer-online --no-fund --no-audit -g npm@7
199-
- name: Install npm@latest
199+
- name: Install npm@8
200200
if: ${{ !startsWith(matrix.node-version, '10.') }}
201-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
201+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
202202
- name: npm Version
203203
run: npm -v
204204
- name: Install Dependencies

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
uses: actions/setup-node@v3
3333
with:
3434
node-version: 18.x
35-
- name: Install npm@latest
36-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
35+
- name: Install npm@8
36+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
3737
- name: npm Version
3838
run: npm -v
3939
- name: Install Dependencies
@@ -94,9 +94,9 @@ jobs:
9494
- name: Install npm@7
9595
if: startsWith(matrix.node-version, '10.')
9696
run: npm i --prefer-online --no-fund --no-audit -g npm@7
97-
- name: Install npm@latest
97+
- name: Install npm@8
9898
if: ${{ !startsWith(matrix.node-version, '10.') }}
99-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
99+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
100100
- name: npm Version
101101
run: npm -v
102102
- name: Install Dependencies

.github/workflows/post-dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
uses: actions/setup-node@v3
2929
with:
3030
node-version: 18.x
31-
- name: Install npm@latest
32-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
31+
- name: Install npm@8
32+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
3333
- name: npm Version
3434
run: npm -v
3535
- name: Install Dependencies

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
uses: actions/setup-node@v3
3232
with:
3333
node-version: 18.x
34-
- name: Install npm@latest
35-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
34+
- name: Install npm@8
35+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
3636
- name: npm Version
3737
run: npm -v
3838
- name: Install Dependencies

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
uses: actions/setup-node@v3
4343
with:
4444
node-version: 18.x
45-
- name: Install npm@latest
46-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
45+
- name: Install npm@8
46+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
4747
- name: npm Version
4848
run: npm -v
4949
- name: Install Dependencies
@@ -74,9 +74,9 @@ jobs:
7474
const comments = await github.paginate(github.rest.issues.listComments, issue)
7575
let commentId = comments?.find(c => c.user.login === 'github-actions[bot]' && c.body.startsWith(body))?.id
7676
77-
body += `Release workflow run: ${workflow.html_url}\n\n#### Force CI to Rerun for This Release\n\n`
77+
body += `Release workflow run: ${workflow.html_url}\n\n#### Force CI to Update This Release\n\n`
7878
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`main\`. `
79-
body += `To force CI to rerun, run this command:\n\n`
79+
body += `To force CI to update this PR, run this command:\n\n`
8080
body += `\`\`\`\ngh workflow run release.yml -r ${REF_NAME}\n\`\`\``
8181
8282
if (commentId) {
@@ -156,8 +156,8 @@ jobs:
156156
uses: actions/setup-node@v3
157157
with:
158158
node-version: 18.x
159-
- name: Install npm@latest
160-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
159+
- name: Install npm@8
160+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
161161
- name: npm Version
162162
run: npm -v
163163
- name: Install Dependencies
@@ -168,7 +168,7 @@ jobs:
168168
RELEASE_COMMENT_ID: ${{ needs.release.outputs.comment-id }}
169169
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
170170
run: |
171-
npm exec --offline -- template-oss-release-manager
171+
npm exec --offline -- template-oss-release-manager --lockfile=false
172172
npm run rp-pull-request --ignore-scripts --if-present
173173
- name: Commit
174174
id: commit
@@ -286,8 +286,8 @@ jobs:
286286
uses: actions/setup-node@v3
287287
with:
288288
node-version: 18.x
289-
- name: Install npm@latest
290-
run: npm i --prefer-online --no-fund --no-audit -g npm@latest
289+
- name: Install npm@8
290+
run: npm i --prefer-online --no-fund --no-audit -g npm@8
291291
- name: npm Version
292292
run: npm -v
293293
- name: Install Dependencies

SECURITY.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
11
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->
22

3-
Please send vulnerability reports through [hackerone](https://hackerone.com/github).
3+
GitHub takes the security of our software products and services seriously, including the open source code repositories managed through our GitHub organizations, such as [GitHub](https://github.com/GitHub).
4+
5+
If you believe you have found a security vulnerability in this GitHub-owned open source repository, you can report it to us in one of two ways.
6+
7+
If the vulnerability you have found is *not* [in scope for the GitHub Bug Bounty Program](https://bounty.github.com/#scope) or if you do not wish to be considered for a bounty reward, please report the issue to us directly using [private vulnerability reporting](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability).
8+
9+
If the vulnerability you have found is [in scope for the GitHub Bug Bounty Program](https://bounty.github.com/#scope) and you would like for your finding to be considered for a bounty reward, please submit the vulnerability to us through [HackerOne](https://hackerone.com/github) in order to be eligible to receive a bounty award.
10+
11+
**Please do not report security vulnerabilities through public GitHub issues, discussions, or pull requests.**
12+
13+
Thanks for helping make GitHub safe for everyone.
14+

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"author": "GitHub Inc.",
5454
"templateOSS": {
5555
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
56-
"version": "4.8.0",
56+
"version": "4.10.0",
5757
"engines": ">=10",
5858
"ciVersions": [
5959
"10.0.0",
@@ -63,6 +63,7 @@
6363
"16.x",
6464
"18.x"
6565
],
66+
"npmSpec": "8",
6667
"distPaths": [
6768
"classes/",
6869
"functions/",

0 commit comments

Comments
 (0)