Skip to content

Commit 1015fb4

Browse files
committed
ci: do not persist Git credentials
1 parent 534c41e commit 1015fb4

9 files changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/anaconda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
python-version: ${{ matrix.py }}
3030

3131
- uses: actions/checkout@v4
32+
with:
33+
persist-credentials: false
3234

3335
- name: Create Anaconda Environment
3436
run: |
@@ -77,6 +79,8 @@ jobs:
7779
python-version: ${{ matrix.py }}
7880

7981
- uses: actions/checkout@v4
82+
with:
83+
persist-credentials: false
8084

8185
- name: Create Anaconda Environment
8286
run: |

.github/workflows/external-zstd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
python-version: '3.9'
2424

2525
- uses: actions/checkout@v4
26+
with:
27+
persist-credentials: false
2628

2729
- name: Build
2830
env:
@@ -50,6 +52,8 @@ jobs:
5052
python -m pip install cffi
5153
5254
- uses: actions/checkout@v4
55+
with:
56+
persist-credentials: false
5357

5458
- name: Build
5559
env:

.github/workflows/pypy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
architecture: ${{ matrix.arch }}
4141

4242
- uses: actions/checkout@v4
43+
with:
44+
persist-credentials: false
4345

4446
- name: Build
4547
run: |
@@ -85,6 +87,8 @@ jobs:
8587
architecture: ${{ matrix.arch }}
8688

8789
- uses: actions/checkout@v4
90+
with:
91+
persist-credentials: false
8892

8993
- name: Install Dependencies
9094
run: |

.github/workflows/ruff.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11+
with:
12+
persist-credentials: false
1113
- uses: astral-sh/ruff-action@v1

.github/workflows/sdist.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
python-version: '3.9'
1414

1515
- uses: actions/checkout@v4
16+
with:
17+
persist-credentials: false
1618

1719
- name: Build sdist
1820
run: |

.github/workflows/sphinx.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
runs-on: ubuntu-24.04
99
steps:
1010
- uses: actions/checkout@v4
11+
with:
12+
persist-credentials: false
1113
- name: Install uv
1214
uses: astral-sh/setup-uv@v6
1315
with:

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
toolchain: stable
8585

8686
- uses: actions/checkout@v4
87+
with:
88+
persist-credentials: false
8789

8890
- name: Install Dependencies
8991
shell: bash

.github/workflows/typing.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
runs-on: 'ubuntu-24.04'
1919
steps:
2020
- uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
2123
- name: Install uv
2224
uses: astral-sh/setup-uv@v6
2325
with:

.github/workflows/wheel.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
runs-on: ${{ endsWith(matrix.image, 'aarch64') && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
3838
steps:
3939
- uses: actions/checkout@v4
40+
with:
41+
persist-credentials: false
4042

4143
- name: Set up QEMU
4244
if: ${{ endsWith(matrix.image, 'ppc64le') || endsWith(matrix.image, 's390x') }}
@@ -79,6 +81,8 @@ jobs:
7981
python-version: '3.13'
8082

8183
- uses: actions/checkout@v4
84+
with:
85+
persist-credentials: false
8286

8387
- name: Install Dependencies
8488
run: |
@@ -127,6 +131,8 @@ jobs:
127131
architecture: ${{ matrix.arch }}
128132

129133
- uses: actions/checkout@v4
134+
with:
135+
persist-credentials: false
130136

131137
- name: Build Wheel
132138
run: |

0 commit comments

Comments
 (0)