Skip to content

Commit 745467b

Browse files
authored
chore: Use persist-credentials: false during checkout (#4995)
1 parent 82c8bf4 commit 745467b

File tree

11 files changed

+33
-13
lines changed

11 files changed

+33
-13
lines changed

.github/workflows/autofix.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
autofix:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
16+
with:
17+
persist-credentials: false
1618

1719
- name: Setup
1820
uses: ./.github/actions/setup

.github/workflows/build-dictionaries.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
REF_BRANCH: ${{ inputs.ref || github.event.inputs.ref }}
3333
steps:
3434
- name: Checkout code
35-
uses: actions/checkout@v5
35+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3636
with:
37+
persist-credentials: false
3738
ref: ${{ env.REF_BRANCH }}
3839

3940
- name: Setup

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ jobs:
3737

3838
steps:
3939
- name: Checkout repository
40-
uses: actions/checkout@v5
40+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
41+
with:
42+
persist-credentials: false
4143

4244
# Initializes the CodeQL tools for scanning.
4345
- name: Initialize CodeQL

.github/workflows/cspell-action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
cspell:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
16+
with:
17+
persist-credentials: false
1618

1719
- name: Setup
1820
uses: ./.github/actions/setup

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
lint:
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v5
35+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
36+
with:
37+
persist-credentials: false
3638

3739
- name: Setup
3840
uses: ./.github/actions/setup

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
20+
with:
21+
persist-credentials: false
2022

2123
- name: Setup
2224
uses: ./.github/actions/setup

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
node-version: 24.x
3131

3232
steps:
33-
- uses: actions/checkout@v5
33+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
34+
with:
35+
persist-credentials: false
3436

3537
- name: Setup
3638
uses: ./.github/actions/setup
@@ -43,7 +45,9 @@ jobs:
4345
runs-on: ubuntu-latest
4446

4547
steps:
46-
- uses: actions/checkout@v5
48+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
49+
with:
50+
persist-credentials: false
4751

4852
- name: Setup
4953
uses: ./.github/actions/setup

.github/workflows/update-dependabot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
PR_TYPE: ci
2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v5
26+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2727
with:
28+
persist-credentials: false
2829
ref: ${{ env.REF_BRANCH }}
2930

3031
- name: Setup

.github/workflows/update-dependencies.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ jobs:
2828
REF_BRANCH: main
2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3232
with:
33+
persist-credentials: false
3334
ref: ${{ env.REF_BRANCH }}
3435

3536
- name: Setup

.github/workflows/update-dictionaries.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ jobs:
2424
REF_BRANCH: main
2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2828
with:
29+
persist-credentials: false
2930
ref: ${{ env.REF_BRANCH }}
3031

3132
- name: Setup

0 commit comments

Comments
 (0)