From fdddae76b4fde3f67848d8d172a4c142a79b9f18 Mon Sep 17 00:00:00 2001 From: Alex Tomkins Date: Sat, 14 Dec 2024 16:17:13 +0000 Subject: [PATCH] Don't persist git credentials after checkout --- .github/workflows/ci.yml | 2 ++ .github/workflows/deploy.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98c7ff6..4a4e8cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + persist-credentials: false - name: Get Node.js version id: nvmrc diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7766cde..c5b4969 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + persist-credentials: false - name: Get Node.js version id: nvmrc