|
11 | 11 | - cron: "0 6 * * 1" |
12 | 12 |
|
13 | 13 | jobs: |
14 | | - vulns: |
| 14 | + leaks: |
15 | 15 | runs-on: ubuntu-latest |
16 | 16 |
|
17 | 17 | steps: |
18 | 18 | - name: Checkout Repo |
19 | | - uses: actions/checkout@v5 |
| 19 | + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
| 20 | + with: |
| 21 | + fetch-depth: 0 |
20 | 22 | - name: Setup Pnpm |
21 | | - uses: pnpm/action-setup@v4 |
| 23 | + uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 |
22 | 24 | - name: Setup Node |
23 | | - uses: actions/setup-node@v4 |
| 25 | + uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 |
24 | 26 | with: |
25 | 27 | node-version-file: package.json |
26 | | - - name: Setup Python |
27 | | - uses: actions/setup-python@v5 |
28 | | - with: |
29 | | - python-version: "3.12" |
30 | | - - name: Install Semgrep |
31 | | - run: pip install semgrep |
32 | | - - name: Run Vulnerability Scan |
33 | | - run: pnpm vulns |
| 28 | + - name: Install Gitleaks |
| 29 | + run: | |
| 30 | + curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | tar -xz -C /usr/local/bin gitleaks |
| 31 | + - name: Run Secrets Scan |
| 32 | + run: pnpm leaks |
34 | 33 |
|
35 | | - leaks: |
| 34 | + vulns: |
36 | 35 | runs-on: ubuntu-latest |
37 | 36 |
|
38 | 37 | steps: |
39 | 38 | - name: Checkout Repo |
40 | | - uses: actions/checkout@v5 |
41 | | - with: |
42 | | - fetch-depth: 0 |
| 39 | + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
43 | 40 | - name: Setup Pnpm |
44 | | - uses: pnpm/action-setup@v4 |
| 41 | + uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 |
45 | 42 | - name: Setup Node |
46 | | - uses: actions/setup-node@v4 |
| 43 | + uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 |
47 | 44 | with: |
48 | 45 | node-version-file: package.json |
49 | | - - name: Install Gitleaks |
50 | | - run: | |
51 | | - curl -sSfL https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8.30.1_linux_x64.tar.gz | tar -xz -C /usr/local/bin gitleaks |
52 | | - - name: Run Secrets Scan |
53 | | - run: pnpm leaks |
| 46 | + - name: Setup Python |
| 47 | + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 |
| 48 | + with: |
| 49 | + python-version: "3.12" |
| 50 | + - name: Install Semgrep |
| 51 | + run: pip install semgrep |
| 52 | + - name: Run Security Scan |
| 53 | + run: pnpm vulns |
0 commit comments