From 98dbdda6671af9f9d25879b00d072b9fe4f0de86 Mon Sep 17 00:00:00 2001 From: Silje Enge Kristensen Date: Fri, 28 Jun 2024 10:16:34 +0200 Subject: [PATCH] ci: set persist-credentials to false for checkout action --- .github/workflows/node.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml index 6521eb2b..f3e73b58 100644 --- a/.github/workflows/node.yaml +++ b/.github/workflows/node.yaml @@ -16,6 +16,8 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js uses: actions/setup-node@v4 with: @@ -53,6 +55,8 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js ${{ matrix.node_version }} uses: actions/setup-node@v4 with: @@ -87,6 +91,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js 16 uses: actions/setup-node@v4 with: @@ -118,6 +124,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false - name: Use Node.js 16 uses: actions/setup-node@v4 with: