From c32e7ce7ab762a474e991f1e2cf3b56eafaa1ab4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 24 Feb 2025 11:59:38 +0530 Subject: [PATCH] Remove git credentials after checkout --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d345fc03a..2a3bb96f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,6 +48,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 10 + persist-credentials: false - name: Set up Python ${{ matrix.pyver }} uses: actions/setup-python@v4 @@ -75,6 +76,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 # needed for :commit: docs role + persist-credentials: false - name: Test for trailing whitespace run: if grep -Inr '\s$' kitty kitty_tests kittens docs *.py *.asciidoc *.rst *.go .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi @@ -143,6 +145,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 10 + persist-credentials: false - name: Install Go uses: actions/setup-go@v4 @@ -163,6 +166,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 # needed for :commit: docs role + persist-credentials: false - name: Set up Python uses: actions/setup-python@v4 @@ -200,6 +204,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 10 + persist-credentials: false - name: Install build deps run: sudo apt-get update && sudo apt-get install -y curl xz-utils build-essential git pkg-config libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl1-mesa-dev libxkbcommon-x11-dev libfontconfig-dev libx11-xcb-dev libdbus-1-dev