Skip to content

Commit 081635c

Browse files
authored
ci: remove git credentials after checkout (#1472)
1 parent f95d494 commit 081635c

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949

5050
- name: Checkout repository
5151
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
52+
with:
53+
persist-credentials: false
5254

5355
# Initializes the CodeQL tools for scanning.
5456
- name: Initialize CodeQL

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ jobs:
2121

2222
- name: 'Checkout Repository'
2323
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
24+
with:
25+
persist-credentials: false
2426
- name: 'Dependency Review'
2527
uses: actions/dependency-review-action@5bbc3ba658137598168acb2ab73b21c432dd411b # v4.2.5

.github/workflows/ossf-scorecard-reporting.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
2222

2323
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v3.3.0
24+
with:
25+
persist-credentials: false
2426
- name: OpenSSF Scorecard Monitor
2527
uses: ossf/scorecard-monitor@a3a9c4cfa0684480ec5f86fa178fc22c4394b69e # v2.0.0-beta8
2628
with:

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
2626

2727
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
28+
with:
29+
persist-credentials: false
2830

2931
- name: Use Node.js ${{ matrix.node-version }}
3032
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2

.github/workflows/update-core-index.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
2323

2424
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
25+
with:
26+
persist-credentials: false
2527

2628
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
2729
with:

.github/workflows/update-npm-index.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
2323

2424
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
25+
with:
26+
persist-credentials: false
2527

2628
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
2729
with:

.github/workflows/validate-vulnerability.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
1919

2020
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
21+
with:
22+
persist-credentials: false
2123

2224
- name: Use Node.js
2325
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2

0 commit comments

Comments
 (0)