From c48abd5f6590d5776781a80a82db9441f39c83f5 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 | 2 ++ .github/workflows/publish-package.yml | 2 ++ .github/workflows/testing.yml | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d8b8cff..edb9fa3 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -23,6 +23,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + with: + persist-credentials: false - name: Initialize CodeQL uses: github/codeql-action/init@v4 diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index a1b4c65..6896bdf 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -16,6 +16,8 @@ jobs: steps: - uses: actions/checkout@v7 + with: + persist-credentials: false - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v7 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 56e01e5..21daca1 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -20,6 +20,8 @@ jobs: steps: - uses: actions/checkout@v7 + with: + persist-credentials: false - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v7 @@ -43,6 +45,8 @@ jobs: steps: - uses: actions/checkout@v7 + with: + persist-credentials: false - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v7 with: