diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6fea3bb..859c3c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,9 +6,17 @@ on: jobs: lint-and-test: runs-on: ubuntu-latest + permissions: + id-token: write steps: + - name: Harden the runner + uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 + with: + egress-policy: block + policy: global-allowed-endpoints-policy + - name: Check out repository code - uses: actions/checkout@v3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 scan: needs: lint-and-test