From bdf2f6b7d56ac0a840fb42d3e965ec32bff053f1 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 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b960ec..acd714a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: + persist-credentials: false ref: ${{ github.event.pull_request.head.sha }} - name: Setup Python uses: actions/setup-python@v5 @@ -38,6 +39,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: + persist-credentials: false ref: ${{ github.event.pull_request.head.sha }} - name: Setup Python uses: actions/setup-python@v5