Skip to content

Commit 8009879

Browse files
fix: Add persist-credentials: false to checkout actions
1 parent ffcb6f1 commit 8009879

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/Action-Test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout repo
2626
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
27+
with:
28+
persist-credentials: false
2729

2830
- name: Action-Test
2931
uses: ./
@@ -38,6 +40,8 @@ jobs:
3840
steps:
3941
- name: Checkout repo
4042
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
43+
with:
44+
persist-credentials: false
4145

4246
- name: Action-Test
4347
uses: ./
@@ -52,6 +56,8 @@ jobs:
5256
steps:
5357
- name: Checkout repo
5458
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
59+
with:
60+
persist-credentials: false
5561

5662
- name: Action-Test
5763
uses: ./

.github/workflows/Linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ jobs:
2222
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
fetch-depth: 0
25+
persist-credentials: false
2526

2627
- name: Lint code base
2728
uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2
2829
env:
2930
GITHUB_TOKEN: ${{ github.token }}
31+
VALIDATE_BIOME_FORMAT: false
3032
VALIDATE_JSON_PRETTIER: false
3133
VALIDATE_MARKDOWN_PRETTIER: false
3234
VALIDATE_YAML_PRETTIER: false

0 commit comments

Comments
 (0)