From 262885d7961aa0e5b7f63656ddbec2d19385aa84 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 05:08:50 +0000 Subject: [PATCH 1/2] Bump actions/checkout from 5 to 6 in the actions group Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 5 to 6 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 12 ++++++------ .github/workflows/release.yml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca49440..f3b70b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: with: python-version: "3.x" - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Build wheel run: pip wheel -w dist --no-deps . @@ -37,7 +37,7 @@ jobs: with: python-version: "3.x" - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Cache pre-commit environments uses: actions/cache@v4 @@ -57,7 +57,7 @@ jobs: test-coverage: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: actions/setup-python@v6 with: @@ -100,7 +100,7 @@ jobs: awk -F '\/' '{ print tolower($2) }' ) >> $GITHUB_OUTPUT - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Set up Python 3.x uses: actions/setup-python@v6 @@ -108,7 +108,7 @@ jobs: python-version: "3.11" - name: Checkout tools repo - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: adafruit/actions-ci-circuitpython-libs path: actions-ci @@ -131,7 +131,7 @@ jobs: env: QT_QPA_PLATFORM: offscreen steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Set up Python 3.x uses: actions/setup-python@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59b22f0..55e4080 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,12 +32,12 @@ jobs: python-version: "3.x" - name: Checkout Current Repo - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Checkout tools repo - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: repository: adafruit/actions-ci-circuitpython-libs path: actions-ci @@ -68,7 +68,7 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 From e07a2ba76402224c248412ba447878bdece00aa8 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Sun, 23 Nov 2025 21:15:37 -0800 Subject: [PATCH 2/2] do not persist git credentials when not needed --- .github/workflows/build.yml | 11 +++++++++++ .github/workflows/release.yml | 3 +++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3b70b6..61efa8a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,8 @@ jobs: python-version: "3.x" - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Build wheel run: pip wheel -w dist --no-deps . @@ -38,6 +40,8 @@ jobs: python-version: "3.x" - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Cache pre-commit environments uses: actions/cache@v4 @@ -58,6 +62,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + with: + persist-credentials: false - uses: actions/setup-python@v6 with: @@ -101,6 +107,8 @@ jobs: ) >> $GITHUB_OUTPUT - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Set up Python 3.x uses: actions/setup-python@v6 @@ -110,6 +118,7 @@ jobs: - name: Checkout tools repo uses: actions/checkout@v6 with: + persist-credentials: false repository: adafruit/actions-ci-circuitpython-libs path: actions-ci @@ -132,6 +141,8 @@ jobs: QT_QPA_PLATFORM: offscreen steps: - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Set up Python 3.x uses: actions/setup-python@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55e4080..aea5403 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,11 +34,13 @@ jobs: - name: Checkout Current Repo uses: actions/checkout@v6 with: + persist-credentials: false fetch-depth: 0 - name: Checkout tools repo uses: actions/checkout@v6 with: + persist-credentials: false repository: adafruit/actions-ci-circuitpython-libs path: actions-ci @@ -70,6 +72,7 @@ jobs: steps: - uses: actions/checkout@v6 with: + persist-credentials: false fetch-depth: 0 - uses: actions/setup-python@v6