diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7796e64..566abbd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,11 +12,16 @@ jobs: node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1 + with: + egress-policy: audit + - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Bun - uses: oven-sh/setup-bun@v2 + uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2 - name: Template Install dependencies run: bun install diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7beeef9..a1694e0 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -12,11 +12,16 @@ jobs: node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1 + with: + egress-policy: audit + - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Bun - uses: oven-sh/setup-bun@v2 + uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2 - name: Template Install dependencies run: bun install diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 5b4d544..2a84d46 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -12,11 +12,16 @@ jobs: node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1 + with: + egress-policy: audit + - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Bun - uses: oven-sh/setup-bun@v2 + uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2 - name: Template Install dependencies run: bun install diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e0a918b..63410e7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,11 +12,16 @@ jobs: node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1 + with: + egress-policy: audit + - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Bun - uses: oven-sh/setup-bun@v2 + uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2 - name: Template Install dependencies run: bun install diff --git a/.github/workflows/salus-scan.yml b/.github/workflows/salus-scan.yml index 5975f12..dee67b3 100644 --- a/.github/workflows/salus-scan.yml +++ b/.github/workflows/salus-scan.yml @@ -6,9 +6,14 @@ jobs: scan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1 + with: + egress-policy: audit + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Salus Scan id: salus_scan - uses: federacy/scan-action@0.1.4 + uses: federacy/scan-action@a7039b38cf9b90d3c27e27f4cedfbf153ab3da62 # 0.1.4 with: active_scanners: "\n - PatternSearch\n - Semgrep\n - Trufflehog" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7a4bddc..bb31770 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,11 +12,16 @@ jobs: node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@002fdce3c6a235733a90a27c80493a3241e56863 # v2.12.1 + with: + egress-policy: audit + - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Setup Bun - uses: oven-sh/setup-bun@v2 + uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2 - name: Template Install dependencies run: bun install