Skip to content

Commit 6d9de7c

Browse files
authored
fix(helmdiff,validate-k8s-manifest): enabled persist-credentials when we check out git repositories, we are using those credentials in future steps (#42)
1 parent 05123fa commit 6d9de7c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/diff-rendered-charts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: '100'
26-
persist-credentials: false
26+
persist-credentials: true # We are using these credentials in later steps
2727

2828
- name: find changed helm charts
2929
id: find_changed_charts
@@ -44,7 +44,7 @@ jobs:
4444
- name: checkout repository
4545
uses: actions/checkout@v4
4646
with:
47-
persist-credentials: false
47+
persist-credentials: true # We are using these credentials in later steps
4848

4949
- name: setup helm
5050
uses: azure/setup-helm@29960d0f5f19214b88e1d9ba750a9914ab0f1a2f #v4.0.0
@@ -81,7 +81,7 @@ jobs:
8181
- name: checkout repository
8282
uses: actions/checkout@v4
8383
with:
84-
persist-credentials: false
84+
persist-credentials: true # We are using these credentials in later steps
8585

8686
- name: setup helm
8787
uses: azure/setup-helm@29960d0f5f19214b88e1d9ba750a9914ab0f1a2f #v4.0.0

.github/workflows/validate-k8s-manifests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
fetch-depth: '100'
31-
persist-credentials: false
31+
persist-credentials: true # We are using these credentials in later steps
3232

3333
- name: find changed helm charts
3434
id: find_changed_charts
@@ -49,7 +49,7 @@ jobs:
4949
- name: checkout repository
5050
uses: actions/checkout@v4
5151
with:
52-
persist-credentials: false
52+
persist-credentials: true # We are using these credentials in later steps
5353

5454
- name: setup helm
5555
uses: azure/setup-helm@29960d0f5f19214b88e1d9ba750a9914ab0f1a2f #v4.0.0

0 commit comments

Comments
 (0)