From 2f8dc307315cad12623bedf65ac5bf6a39de0b23 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Thu, 12 Nov 2026 13:22:28 +0000 Subject: [PATCH] Instruct Git Hub Actions to never store credentials --- .github/workflows/codeql.yml | 4 +++- .github/workflows/pypi.yml | 4 +++- .github/workflows/testing.yml | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 9fa720d..4bcd624 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -22,7 +22,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v7 + with: + persist-credentials: false - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 63f8ea2..b26d44d 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -21,7 +21,9 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v7 + with: + persist-credentials: false - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 03d352f..04c34af 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -22,7 +22,9 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v7 + with: + persist-credentials: false - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v1