Skip to content

Commit 2d7d4f9

Browse files
committed
GitHub Actions Fixes
1 parent 8cec441 commit 2d7d4f9

9 files changed

Lines changed: 23 additions & 15 deletions

.cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"trimble",
4040
"unapprove",
4141
"unreviewed",
42-
"xmldoc"
42+
"xmldoc",
43+
"ZIZMOR"
4344
],
4445
"allowCompoundWords": true,
4546
"flagWords": [

.github/workflows/azure-static-web-apps-deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
name: Build and Deploy Job
1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919
with:
2020
submodules: recursive
2121
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
22+
persist-credentials: false
2223

2324
- name: Setup Hugo
2425
uses: peaceiris/actions-hugo@v3

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,17 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
32+
with:
33+
persist-credentials: false
3234

3335
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@v3
36+
uses: github/codeql-action/init@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
3537
with:
3638
languages: ${{ matrix.language }}
3739
queries: +security-and-quality
3840

3941
- name: Perform CodeQL Analysis
40-
uses: github/codeql-action/analyze@v3
42+
uses: github/codeql-action/analyze@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
4143
with:
4244
category: "/language:${{matrix.language}}"

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: ${{ github.actor != 'dependabot[bot]' }}
1111
steps:
1212
- name: "Checkout Repository"
13-
uses: actions/checkout@v5
13+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1414
with:
1515
persist-credentials: false
1616

.github/workflows/sonar-scan.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2626
with:
2727
fetch-depth: 0
28+
persist-credentials: false
2829

2930
- name: Setup Node.js
30-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3132
with:
3233
node-version: 18
3334

.github/workflows/spellcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
if: ${{ github.actor != 'dependabot[bot]' }}
1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919
with:
2020
persist-credentials: false
21-
- uses: streetsidesoftware/cspell-action@v7
21+
- uses: streetsidesoftware/cspell-action@dcd03dc3e8a59ec2e360d0c62db517baa0b4bb6d # v7.2.0
2222
with:
2323
check_dot_files: false
2424
incremental_files_only: true

.github/workflows/super-linter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Checkout Code
22-
uses: actions/checkout@v5
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
with:
2424
fetch-depth: 0
25+
persist-credentials: false
2526

2627
- name: Lint Code Base
2728
uses: super-linter/super-linter/slim@v8
@@ -37,6 +38,7 @@ jobs:
3738
VALIDATE_CHECKOV: false
3839
VALIDATE_CSS: false
3940
VALIDATE_EDITORCONFIG: false
41+
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
4042
VALIDATE_HTML: false
4143
VALIDATE_JSCPD: false
4244
VALIDATE_NATURAL_LANGUAGE: false

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ jobs:
2020

2121
steps:
2222
- name: Clone repository
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+
with:
25+
persist-credentials: false
2426

2527
- name: Set up Node.js
26-
uses: actions/setup-node@v4
28+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2729
with:
2830
node-version: "${{ env.NODE }}"
2931
cache: npm
@@ -35,7 +37,7 @@ jobs:
3537
run: npm run test
3638

3739
- name: Run linkinator
38-
uses: JustinBeckwith/linkinator-action@v1
40+
uses: JustinBeckwith/linkinator-action@3d5ba091319fa7b0ac14703761eebb7d100e6f6d # v1.11.0
3941
with:
4042
paths: public
4143
skip: "^(?!http://localhost)"

.htmlhintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"id-unique": false,
1616
"inline-script-disabled": false,
1717
"inline-style-disabled": false,
18-
"space-tab-mixed-disabled": space,
1918
"spec-char-escape": false,
2019
"src-not-empty": true,
2120
"style-disabled": false,

0 commit comments

Comments
 (0)