diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f76937..790f6b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,9 @@ jobs: with: python-version: "3.x" - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Build wheel run: pip wheel -w dist --no-deps . @@ -36,7 +38,9 @@ jobs: with: python-version: "3.x" - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Install pre-commit and deps run: pip install pre-commit -r requirements.txt @@ -59,7 +63,9 @@ jobs: tr '_' '-' ) >> $GITHUB_OUTPUT - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 + with: + persist-credentials: false - name: Set up Python 3.x uses: actions/setup-python@v6 @@ -67,8 +73,9 @@ jobs: python-version: "3.11" - name: Checkout tools repo - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: + persist-credentials: false repository: adafruit/actions-ci-circuitpython-libs path: actions-ci @@ -88,7 +95,9 @@ jobs: build-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - 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 c009f3b..68033e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,13 +24,15 @@ jobs: python-version: "3.x" - name: Checkout Current Repo - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: + persist-credentials: false fetch-depth: 0 - name: Checkout tools repo - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: + persist-credentials: false repository: adafruit/actions-ci-circuitpython-libs path: actions-ci @@ -60,8 +62,9 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: + persist-credentials: false fetch-depth: 0 - uses: actions/setup-python@v6