Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
- name: Reset Deps
run: node . run resetdeps -- --package-lock
- name: Run Audit
run: node . audit
run: node . audit -iwr -w workspaces
13 changes: 13 additions & 0 deletions scripts/template-oss/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Audit

on:
workflow_dispatch:
schedule:
# "At 08:00 UTC (01:00 PT) on Monday" https://crontab.guru/#0_8_*_*_1
- cron: "0 8 * * 1"

jobs:
audit:
{{> job jobName="Audit Dependencies" jobDepFlags="--package-lock" }}
- name: Run Audit
run: {{ rootNpmPath }} audit -iwr -w workspaces
1 change: 1 addition & 0 deletions scripts/template-oss/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
'.github/workflows/ci-release.yml': 'ci-release.yml',
'.github/dependabot.yml': false,
'.github/workflows/post-dependabot.yml': false,
'.github/workflows/audit.yml': 'audit.yml',
},
},
workspaceRepo: {
Expand Down