From 9685ee85ca69713e4aad55020b7907dd7bcc8e2d Mon Sep 17 00:00:00 2001 From: Varun Sharma Date: Mon, 6 Dec 2021 14:00:07 -0800 Subject: [PATCH] Update lint.yml --- .github/workflows/lint.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a43a89d4fc5..a06c4ca8984 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@v0.4.0 + - uses: step-security/harden-runner@v1 with: allowed-endpoints: github.com:443 @@ -26,12 +26,9 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@v0.4.0 + - uses: step-security/harden-runner@v1 with: - allowed-endpoints: - github.com:443 - nodejs.org:443 - registry.npmjs.org:443 + egress-policy: audit - uses: actions/checkout@v2 - uses: ljharb/actions/node/install@main name: 'nvm install ${{ matrix.node-version }} && npm install' @@ -44,7 +41,7 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@v0.4.0 + - uses: step-security/harden-runner@v1 with: allowed-endpoints: github.com:443 @@ -62,7 +59,7 @@ jobs: contents: read runs-on: ubuntu-latest steps: - - uses: step-security/harden-runner@v0.4.0 + - uses: step-security/harden-runner@v1 with: allowed-endpoints: github.com:443