Skip to content

Commit e211007

Browse files
🩹[Patch]: Pin super-linter actions and refine Dependabot configuration (#207)
## Description This pull request makes several updates to the GitHub Actions workflows and Dependabot configuration to improve reliability, clarity, and control over code linting and dependency management. The main changes involve pinning the super-linter action to a specific commit for reproducibility, updating linting environment variables, and enhancing dependency labeling. - Fixes #206 ### GitHub Actions workflow improvements * Pin the `super-linter/super-linter` and `super-linter/super-linter/slim` actions to the specific commit `7bba2eeb89d01dc9bfd93c497477a57e72c83240` (v8.2.0) in all workflows, instead of using the `latest` tag, to ensure consistent and reproducible builds. [[1]](diffhunk://#diff-7671544ba08199b4a27426300b58127b470b79b74ee36d823dacd165a01036eeL98-R98) [[2]](diffhunk://#diff-482e65806ed9e4a7320f14964764086b91fed4a28d12e4efde1776472e147e79L28-R32) [[3]](diffhunk://#diff-126bf89616b7daa3d14ebc882ad18666aaf1c3dae888c4ba306a66ec80758bc1L109-R113) * Update linting environment variables in all workflows to explicitly disable `VALIDATE_BIOME_LINT` and `VALIDATE_GITHUB_ACTIONS_ZIZMOR`, providing finer control over which linters are run. [[1]](diffhunk://#diff-7671544ba08199b4a27426300b58127b470b79b74ee36d823dacd165a01036eeL108-R109) [[2]](diffhunk://#diff-482e65806ed9e4a7320f14964764086b91fed4a28d12e4efde1776472e147e79L28-R32) [[3]](diffhunk://#diff-126bf89616b7daa3d14ebc882ad18666aaf1c3dae888c4ba306a66ec80758bc1L109-R113) ### Dependabot configuration enhancement * Add `dependencies` and `github-actions` labels to Dependabot PRs for GitHub Actions, making it easier to categorize and filter dependency updates. (.github/dependabot.yml) ### PSModule process diagram * Updated the diagram with the repo linter. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ee6798e commit e211007

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

‎.github/dependabot.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ version: 2
77
updates:
88
- package-ecosystem: github-actions # See documentation for possible values
99
directory: / # Location of package manifests
10+
labels:
11+
- dependencies
12+
- github-actions
1013
schedule:
1114
interval: weekly

‎.github/workflows/Build-Docs.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
}
9696
9797
- name: Lint documentation
98-
uses: super-linter/super-linter/slim@latest
98+
uses: super-linter/super-linter/slim@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0
9999
env:
100100
FILTER_REGEX_INCLUDE: outputs/docs
101101
DEFAULT_BRANCH: main
@@ -105,6 +105,8 @@ jobs:
105105
RUN_LOCAL: true
106106
VALIDATE_ALL_CODEBASE: true
107107
VALIDATE_BIOME_FORMAT: false
108+
VALIDATE_BIOME_LINT: false
109+
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
108110
VALIDATE_GITLEAKS: false
109111
VALIDATE_JSCPD: false
110112
VALIDATE_JSON_PRETTIER: false

‎.github/workflows/Linter.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ jobs:
2525
fetch-depth: 0
2626

2727
- name: Lint code base
28-
uses: super-linter/super-linter@latest
28+
uses: super-linter/super-linter@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0
2929
env:
3030
GITHUB_TOKEN: ${{ github.token }}
3131
VALIDATE_BIOME_FORMAT: false
32+
VALIDATE_BIOME_LINT: false
3233
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
3334
VALIDATE_JSCPD: false
3435
VALIDATE_JSON_PRETTIER: false

‎.github/workflows/workflow.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@ jobs:
106106
fetch-depth: 0
107107

108108
- name: Lint code base
109-
uses: super-linter/super-linter@latest
109+
uses: super-linter/super-linter@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0
110110
env:
111111
GITHUB_TOKEN: ${{ github.token }}
112112
VALIDATE_BIOME_FORMAT: false
113+
VALIDATE_BIOME_LINT: false
113114
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
114115
VALIDATE_JSCPD: false
115116
VALIDATE_JSON_PRETTIER: false

‎media/Process-PSModule.png‎

32.7 KB
Loading

0 commit comments

Comments
 (0)