Skip to content

Commit 39b9dec

Browse files
committed
NO-ISSUE fix
1 parent c0ddd2f commit 39b9dec

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/npm-audit.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
schedule:
55
- cron: '0 22 * * *'
66
workflow_dispatch:
7+
push:
8+
branches:
9+
- 'master'
710

811
jobs:
912
run-npm-audit:
@@ -13,8 +16,8 @@ jobs:
1316
issues: write
1417
if: github.repository == 'line/line-bot-sdk-nodejs'
1518
steps:
16-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
17-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
1821
with:
1922
node-version: '24'
2023

@@ -34,7 +37,7 @@ jobs:
3437
const title = 'Reminder: run npm audit';
3538
const securityURL = `https://github.com/${owner}/${repo}/security`;
3639
const baseBody = [
37-
'Fix all vulnerabilities. You can check with `.github/scripts/npm-audit.sh` locally, then send a PR with the fixes.',
40+
'Fix all vulnerabilities. You can check with `./scripts/npm-audit.sh` locally, then send a PR with the fixes.',
3841
`After fixing, make sure the vulnerabilities count in **${securityURL}** is **0**.`
3942
].join('\n\n');
4043

0 commit comments

Comments
 (0)