From 75657d4169fba3b78eaeba2329a4f2d63839bbbf Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 18 Nov 2024 11:09:23 +0000 Subject: [PATCH] ci(node.js): update workflow --- .github/workflows/node.js.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 3da5e2e..b4b9a07 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -11,6 +11,9 @@ on: jobs: build: + permissions: + contents: read + runs-on: ${{ matrix.os }} strategy: @@ -20,6 +23,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: