|
6 | 6 | build: |
7 | 7 | runs-on: ubuntu-latest |
8 | 8 | steps: |
9 | | - - uses: actions/checkout@v6 |
10 | | - - uses: actions/setup-node@v6 |
| 9 | + - name: Harden the runner (Audit all outbound calls) |
| 10 | + uses: step-security/harden-runner@v2 |
| 11 | + with: |
| 12 | + egress-policy: audit |
| 13 | + |
| 14 | + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
| 15 | + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 |
11 | 16 | with: |
12 | 17 | node-version-file: 'package.json' |
13 | 18 | cache: 'npm' |
|
24 | 29 | version: ["", 1295939, 120, dev, latest] |
25 | 30 | runs-on: ${{ matrix.os }} |
26 | 31 | steps: |
27 | | - - uses: actions/checkout@v6 |
| 32 | + - name: Harden the runner (Audit all outbound calls) |
| 33 | + uses: step-security/harden-runner@v2 |
| 34 | + with: |
| 35 | + egress-policy: audit |
| 36 | + |
| 37 | + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
28 | 38 |
|
29 | 39 | - name: Install Google Chrome |
30 | 40 | uses: ./ |
|
46 | 56 | if: github.actor != 'dependabot[bot]' |
47 | 57 | runs-on: windows-11-arm |
48 | 58 | steps: |
49 | | - - uses: actions/checkout@v6 |
| 59 | + - name: Harden the runner (Audit all outbound calls) |
| 60 | + uses: step-security/harden-runner@v2 |
| 61 | + with: |
| 62 | + egress-policy: audit |
| 63 | + |
| 64 | + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
50 | 65 |
|
51 | 66 | - name: Install Google Chrome |
52 | 67 | uses: ./ |
|
62 | 77 | needs: [build] |
63 | 78 | runs-on: ubuntu-24.04-arm |
64 | 79 | steps: |
65 | | - - uses: actions/checkout@v6 |
| 80 | + - name: Harden the runner (Audit all outbound calls) |
| 81 | + uses: step-security/harden-runner@v2 |
| 82 | + with: |
| 83 | + egress-policy: audit |
| 84 | + |
| 85 | + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
66 | 86 |
|
67 | 87 | - name: Install Google Chrome |
68 | 88 | uses: ./ |
|
89 | 109 | - name: Install tar and git (opensuse/leap) |
90 | 110 | run: zypper install --no-confirm tar git |
91 | 111 | if: ${{ matrix.container == 'opensuse/leap' }} |
92 | | - - uses: actions/checkout@v6 |
| 112 | + - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 |
93 | 113 | - name: Install action dependencies |
94 | 114 | run: apt-get update && apt-get install -y unzip |
95 | 115 | if: ${{ matrix.container == 'debian' || matrix.container == 'ubuntu' || matrix.container == 'linuxmintd/mint21-amd64' }} |
|
0 commit comments