Skip to content

Commit 99a0bd3

Browse files
authored
ci: disable credential persistence for checkout actions (#6522)
Signed-off-by: Mert Şişmanoğlu <[email protected]>
1 parent dfd1851 commit 99a0bd3

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
with:
33+
persist-credentials: false
3234
- name: Setup Node.js
3335
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3436
with:
@@ -93,6 +95,8 @@ jobs:
9395
checks: write
9496
steps:
9597
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
98+
with:
99+
persist-credentials: false
96100

97101
- name: Install lcov
98102
shell: bash

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
steps:
4040
- name: Checkout repository
4141
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
42+
with:
43+
persist-credentials: false
4244

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

.github/workflows/legacy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ jobs:
7777
checks: write
7878
steps:
7979
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
80+
with:
81+
persist-credentials: false
8082

8183
- name: Install lcov
8284
shell: bash

0 commit comments

Comments
 (0)