diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95f61a8..ac1dc0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,9 @@ on: branches: - main pull_request: +permissions: + contents: read + jobs: CI: name: CI @@ -13,6 +16,11 @@ jobs: matrix: node: [16, 18] steps: + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1 + with: + egress-policy: audit + - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3 - uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3 with: