ci: Remove persist-credentials from our CI workflows

This mitigates a potential security risk identified by zizmor.
This commit is contained in:
Ben Darnell 2024-10-30 14:14:40 -04:00
parent 385fd8823d
commit dc29f60ce6
2 changed files with 10 additions and 0 deletions

View File

@ -26,6 +26,8 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
name: Install Python
with:
@ -51,6 +53,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
name: Install Python
with:

View File

@ -18,6 +18,8 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
name: Install Python
with:
@ -65,6 +67,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
name: Install Python
with:
@ -88,6 +92,8 @@ jobs:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
name: Install Python
with: