Skip to content

Commit 366f53d

Browse files
chore: do not persist creds when not necessary
1 parent 0569695 commit 366f53d

File tree

7 files changed

+18
-0
lines changed

7 files changed

+18
-0
lines changed

.github/workflows/accuracy-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
steps:
3030
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
3131
- uses: actions/checkout@v5
32+
with:
33+
persist-credentials: false
3234
- uses: actions/setup-node@v6
3335
with:
3436
node-version-file: package.json

.github/workflows/check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
1919
- uses: actions/checkout@v5
20+
with:
21+
persist-credentials: false
2022
- uses: actions/setup-node@v6
2123
with:
2224
node-version-file: package.json
@@ -31,6 +33,8 @@ jobs:
3133
steps:
3234
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
3335
- uses: actions/checkout@v5
36+
with:
37+
persist-credentials: false
3438
- uses: actions/setup-node@v6
3539
with:
3640
node-version-file: package.json
@@ -45,6 +49,8 @@ jobs:
4549
steps:
4650
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
4751
- uses: actions/checkout@v5
52+
with:
53+
persist-credentials: false
4854
- uses: actions/setup-node@v6
4955
with:
5056
node-version-file: package.json

.github/workflows/cleanup-atlas-env.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
steps:
1414
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
1515
- uses: actions/checkout@v5
16+
with:
17+
persist-credentials: false
1618
- uses: actions/setup-node@v6
1719
with:
1820
node-version-file: package.json

.github/workflows/code-health-long-running.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
steps:
1616
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
1717
- uses: actions/checkout@v5
18+
with:
19+
persist-credentials: false
1820
- uses: actions/setup-node@v6
1921
with:
2022
node-version-file: package.json

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@v5
27+
with:
28+
persist-credentials: false
2729
- name: Initialize CodeQL
2830
uses: github/codeql-action/init@v4
2931
with:

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
config: ${{ vars.PERMISSIONS_CONFIG }}
1616
- name: Check out code
1717
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
18+
with:
19+
persist-credentials: false
1820
- name: Set up Docker Buildx
1921
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435
2022
- name: Login to Docker Hub

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ jobs:
8282
steps:
8383
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
8484
- uses: actions/checkout@v5
85+
with:
86+
persist-credentials: false
8587
- uses: actions/setup-node@v6
8688
with:
8789
node-version-file: package.json

0 commit comments

Comments
 (0)