Skip to content

Commit 7494a73

Browse files
committed
Updates for super-linter v8
1 parent 80ef421 commit 7494a73

8 files changed

Lines changed: 25 additions & 12 deletions

File tree

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ updates:
66
directory: "/"
77
schedule:
88
interval: "weekly"
9+
cooldown:
10+
default-days: 7
11+
semver-major: 30
12+
semver-minor: 7
13+
semver-patch: 1

.github/workflows/helm-lint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717

1818
steps:
1919
- name: Checkout Code
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
21+
with:
22+
persist-credentials: false
2123

2224
- name: Setup helm
23-
uses: azure/setup-helm@v4
25+
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # v4
2426
with:
2527
version: 'v3.14.0'
2628

.github/workflows/helm-unittest.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818

1919
steps:
2020
- name: Checkout Code
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
22+
with:
23+
persist-credentials: false
2224

2325
- name: Run make helmlint
2426
run: |

.github/workflows/superlinter.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ jobs:
1313

1414
steps:
1515
- name: Checkout Code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1717
with:
1818
# Full git history is needed to get a proper list of changed files within `super-linter`
1919
fetch-depth: 0
20+
persist-credentials: false
2021

2122
################################
2223
# Run Linter against code base #
2324
################################
2425
- name: Lint Code Base
25-
uses: super-linter/super-linter/slim@v8
26+
uses: super-linter/super-linter/slim@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8
2627
env:
2728
VALIDATE_ALL_CODEBASE: true
2829
DEFAULT_BRANCH: main

.github/workflows/update-helm-repo.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,22 @@
1212
#
1313

1414
name: vp-patterns/update-helm-repo
15+
16+
permissions: read-all
17+
1518
on:
1619
push:
1720
tags:
1821
- 'v[0-9]+.[0-9]+.[0-9]+'
1922

2023
jobs:
2124
helmlint:
22-
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@workflow-stable
25+
uses: validatedpatterns/helm-charts/.github/workflows/helmlint.yml@workflow-stable # zizmor: ignore[unpinned-uses]
2326
permissions:
2427
contents: read
2528

2629
update-helm-repo:
2730
needs: [helmlint]
28-
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@workflow-stable
31+
uses: validatedpatterns/helm-charts/.github/workflows/update-helm-repo.yml@workflow-stable # zizmor: ignore[unpinned-uses]
2932
permissions: read-all
3033
secrets: inherit

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ This chart is used by the Validated Patterns installation script that can be fou
1919
| Key | Type | Default | Description |
2020
|-----|------|---------|-------------|
2121
| global.extraValueFiles | list | `[]` | List of additional value files to be passed to the pattern |
22-
| main | object | depends on the individual settings | main is used primarly for initial bootstrap pattern configuration |
22+
| main | object | depends on the individual settings | main is used primarily for initial bootstrap pattern configuration |
2323
| main.clusterGroupName | string | `"default"` | Name of the clusterGroup to be used. Drives the clusterGroup chart |
2424
| main.experimentalCapabilities | string | `""` | String to enable certain experimental capabilities in the operator and the framework. Not needed unless you know exactly what you're doing. |
2525
| main.git | object | depends on the individual settings | Settings related to the Git repository used to deploy the pattern |
2626
| main.git.repoURL | string | `"https://github.com/pattern-clone/mypattern"` | Repository URL pointing to the pattern |
2727
| main.git.repoUpstreamURL | string | `nil` | Setting this field will make it so that an in-cluster gitea instance will be spawned. `repoURL` will be ignored and the pattern will be deployed using the in-gitea URL |
2828
| main.git.revision | string | `"main"` | The branch or Git reference to use to deploy the pattern |
29-
| main.gitea | object | `{"chartName":"gitea","chartVersion":"0.0.*","helmRepoUrl":"https://charts.validatedpatterns.io/"}` | Settings releated to the in-cluster gitea installation |
29+
| main.gitea | object | `{"chartName":"gitea","chartVersion":"0.0.*","helmRepoUrl":"https://charts.validatedpatterns.io/"}` | Settings related to the in-cluster gitea installation |
3030
| main.gitea.chartName | string | `"gitea"` | Chart name for the in-cluster gitea installation |
3131
| main.gitea.chartVersion | string | `"0.0.*"` | Chart version to install |
3232
| main.gitea.helmRepoUrl | string | `"https://charts.validatedpatterns.io/"` | Helm Repository URL for the gitea chart |

tests/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ helm plugin install https://github.com/helm-unittest/helm-unittest.git
2222
helm unittest .
2323
```
2424

25-
## Run unittests with docker
25+
## Run unittests with Docker
2626
```bash
2727
docker run -ti --rm -v $(pwd):/apps:z helmunittest/helm-unittest .
2828
```

values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ global:
22
# -- List of additional value files to be passed to the pattern
33
extraValueFiles: []
44

5-
# -- main is used primarly for initial bootstrap pattern configuration
5+
# -- main is used primarily for initial bootstrap pattern configuration
66
# @default -- depends on the individual settings
77
main:
88
# -- Settings related to the Git repository used to deploy the pattern
@@ -25,7 +25,7 @@ main:
2525
# -- Source to be used to install the gitops operator from
2626
operatorSource: redhat-operators
2727

28-
# -- Settings releated to the in-cluster gitea installation
28+
# -- Settings related to the in-cluster gitea installation
2929
gitea:
3030
# -- Chart name for the in-cluster gitea installation
3131
chartName: gitea

0 commit comments

Comments
 (0)