SEC: avoid leaking credentials in GHA (#2769)

This commit is contained in:
Clément Robert
2026-03-11 19:50:11 +05:30
committed by GitHub
parent 02c132e91e
commit eaf116e303
4 changed files with 20 additions and 0 deletions
+2
View File
@@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: hynek/build-and-inspect-python-package@v2
+14
View File
@@ -38,6 +38,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
id: python
with:
@@ -52,6 +54,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
name: Install Python
with:
@@ -112,6 +116,8 @@ jobs:
timeout-minutes: 180
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
name: Install Python ${{ matrix.python_version }}
with:
@@ -240,6 +246,8 @@ jobs:
archs: ${{ steps.archs.outputs.archs }}
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: "3.x"
@@ -263,6 +271,8 @@ jobs:
arch: ${{ fromJSON(needs.emulated-archs.outputs.archs) }}
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
with:
python-version: "3.x"
@@ -283,6 +293,8 @@ jobs:
timeout-minutes: 180
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-python@v6
name: Install Python 3.12
with:
@@ -331,6 +343,8 @@ jobs:
test_select: android
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Download a sample project
uses: actions/download-artifact@v8
with:
@@ -31,6 +31,8 @@ jobs:
private-key: ${{ secrets.CIBUILDWHEEL_BOT_APP_PRIVATE_KEY }}
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: wntrblm/nox@2026.02.09
@@ -22,6 +22,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Update the ${{ env.TAG_NAME }} tag
id: update-major-minor-tag