Skip to content

Commit a9ba060

Browse files
pnpm
1 parent fb8b82e commit a9ba060

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/checkovScrapper.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
11
name: Update Checkov Severity Mapping
22

33
on:
4-
# schedule:
5-
# - cron: "0 0 * * 0" # Runs every Sunday at midnight UTC
4+
schedule:
5+
- cron: "0 0 * * 0" # Runs every Sunday at midnight UTC
66
workflow_dispatch: # Allows manual trigger from the GitHub UI
77

88
jobs:
99
update-severity-mapping:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout this repository
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Checkout Checkov Docs Repository
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
repository: hlxsites/prisma-cloud-docs
1919
path: checkov-docs
2020

2121
- name: Set up Node.js
2222
uses: actions/setup-node@v4
2323
with:
24+
cache: pnpm
2425
node-version: 20
2526

26-
- name: Install pnpm
27-
run: |
28-
npm install -g pnpm
27+
- uses: pnpm/action-setup@v4
28+
with:
29+
version: "9.1.4"
2930

3031
- name: Install dependencies
3132
run: pnpm install

0 commit comments

Comments
 (0)