Skip to content

Commit d48d672

Browse files
committed
chore(ci): Ensure git credentials are not persisted
1 parent 0afb285 commit d48d672

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

.github/workflows/py_check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
- id: repo_checkout
1515
name: "Repository: Checkout"
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
with:
18+
persist-credentials: false
1719
- id: black
1820
name: "Black: check python formatting"
1921
uses: rickstaa/action-black@d86849e16a3c498947d70be55198feb86d5d4f53 # v1.3.3

.github/workflows/shell_check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
- id: repo_checkout
1515
name: "Repository: Checkout"
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
with:
18+
persist-credentials: false
1719
- id: shhellcheck
1820
name: "Shellcheck: check scripts"
1921
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0

.github/workflows/tf_module_check.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
- id: repo_checkout
1515
name: "Repository: Checkout"
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
with:
18+
persist-credentials: false
1719
- id: tf_version
1820
name: "Terraform: Get version"
1921
run: |
@@ -46,6 +48,8 @@ jobs:
4648
- id: repo_checkout
4749
name: "Repository: Checkout"
4850
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
51+
with:
52+
persist-credentials: false
4953
- id: tfdocs
5054
name: "Terraform-Docs: Check Documentation"
5155
uses: terraform-docs/gh-actions@6de6da0cefcc6b4b7a5cbea4d79d97060733093c # v1.4.1
@@ -58,6 +62,8 @@ jobs:
5862
- id: repo_checkout
5963
name: "Repository: Checkout"
6064
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
65+
with:
66+
persist-credentials: false
6167
- id: tflint_cache
6268
name: "TFLint: Update cache"
6369
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3

.github/workflows/tf_project_apply.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- id: repo_checkout
2525
name: "Repository: Checkout"
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
with:
28+
persist-credentials: false
2729
- id: tf_version
2830
name: "Terraform: Get version"
2931
run: |

.github/workflows/tf_project_plan.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- id: repo_checkout
2525
name: "Repository: Checkout"
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
with:
28+
persist-credentials: false
2729
- id: tf_version
2830
name: "Terraform: Get version"
2931
run: |
@@ -62,6 +64,8 @@ jobs:
6264
- id: repo_checkout
6365
name: "Repository: Checkout"
6466
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
67+
with:
68+
persist-credentials: false
6569
- id: tflint_cache
6670
name: "TFLint: Update cache"
6771
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3

.github/workflows/yaml_check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
- id: repo_checkout
1515
name: "Repository: Checkout"
1616
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
with:
18+
persist-credentials: false
1719
- id: yamllint
1820
name: "Yamllint: Check yaml files"
1921
run: |

0 commit comments

Comments
 (0)