Skip to content

Commit 268d99b

Browse files
Disable checkout credential persistence in workflows
Co-authored-by: Greg Nazario <greg@gnazar.io>
1 parent 07c196a commit 268d99b

5 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/devnet-examples.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
FAUCET_AUTH_TOKEN: ${{ secrets.DEVNET_FAUCET_AUTH_TOKEN }}
2525
steps:
2626
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
27+
with:
28+
persist-credentials: false
2729

2830
- uses: ./.github/actions/python-setup
2931
with:

.github/workflows/lints.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
python-version: ["3.12", "3.13"]
2222
steps:
2323
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
24+
with:
25+
persist-credentials: false
2426

2527
- name: Run python setup
2628
uses: ./.github/actions/python-setup

.github/workflows/localnet-examples.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
27+
with:
28+
persist-credentials: false
2729

2830
- name: Checkout aptos-core
2931
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
3032
with:
33+
persist-credentials: false
3134
repository: aptos-labs/aptos-core
3235
path: './aptos-core'
3336

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
22+
with:
23+
persist-credentials: false
2224

2325
- uses: ./.github/actions/python-setup
2426
with:
@@ -36,6 +38,8 @@ jobs:
3638
runs-on: ubuntu-latest
3739
steps:
3840
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
41+
with:
42+
persist-credentials: false
3943

4044
- uses: ./.github/actions/python-setup
4145

.github/workflows/v2-ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
working-directory: v2
3535
steps:
3636
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
37+
with:
38+
persist-credentials: false
3739

3840
- uses: astral-sh/setup-uv@e58605a9b6da7c637471fab8847a5e5a6b8df081
3941
with:
@@ -68,6 +70,8 @@ jobs:
6870
runs-on: ubuntu-latest
6971
steps:
7072
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
73+
with:
74+
persist-credentials: false
7175

7276
- uses: ./.github/actions/python-setup
7377
with:

0 commit comments

Comments
 (0)