From 598112eff8ed1a2402f226eb554caf686c426cef Mon Sep 17 00:00:00 2001 From: Mikkel Kjeldsen Date: Sat, 23 Sep 2023 16:19:15 +0200 Subject: [PATCH] ci: don't persist Git credentials References: https://github.com/actions/checkout/issues/485 --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c947d3..4e4b5a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + persist-credentials: false - name: Install Rust uses: dtolnay/rust-toolchain@master diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 118503d..66f75d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + persist-credentials: false - name: Prepare environment shell: bash