From d72b764568be439fb0c9dd1805f96c1ef00c374a Mon Sep 17 00:00:00 2001 From: Silje Enge Kristensen Date: Tue, 25 Jun 2024 15:22:15 +0200 Subject: [PATCH] ci: set persist-credentials to false for checkout action --- .github/workflows/node.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml index b28e658..db5bd2d 100644 --- a/.github/workflows/node.yaml +++ b/.github/workflows/node.yaml @@ -15,6 +15,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js 18.x uses: actions/setup-node@v4 @@ -33,6 +35,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js 18.x uses: actions/setup-node@v4 @@ -56,6 +60,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Use Node.js 18.x uses: actions/setup-node@v4 with: @@ -95,6 +101,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - name: Determine if images should be published to DockerHub id: dockerhub