Skip to content

Commit 0945954

Browse files
authored
Merge pull request #31 from htmlhint/dev/coliff/update-gh-action
Update GitHub Actions workflows and pin action versions
2 parents 5cf6a45 + ad2b498 commit 0945954

File tree

4 files changed

+20
-12
lines changed

4 files changed

+20
-12
lines changed

.cspell.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"fediverse",
66
"Merbivore",
77
"Monokai",
8-
"SARIF"
8+
"SARIF",
9+
"ZIZMOR"
910
],
1011
"allowCompoundWords": true,
1112
"language": "en,en-US",

.github/workflows/codeql-analysis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
44
push:
55
branches:
66
- main
7-
- "!dependabot/**"
7+
- '!dependabot/**'
88
pull_request:
99
branches:
1010
- main
11-
- "!dependabot/**"
11+
- '!dependabot/**'
1212
workflow_dispatch:
1313

1414
jobs:
@@ -22,12 +22,14 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
26+
with:
27+
persist-credentials: false
2628

2729
- name: Initialize CodeQL
2830
uses: github/codeql-action/init@v3
2931
with:
30-
languages: "javascript"
32+
languages: 'javascript'
3133
queries: +security-and-quality
3234

3335
- name: Perform CodeQL Analysis

.github/workflows/spellcheck.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Check spelling"
1+
name: 'Check spelling'
22
on:
33
push:
44
branches: [main]
@@ -13,8 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: ${{ github.actor != 'dependabot[bot]' }}
1515
steps:
16-
- uses: actions/checkout@v5
17-
- uses: streetsidesoftware/cspell-action@v7
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
with:
18+
persist-credentials: false
19+
20+
- uses: streetsidesoftware/cspell-action@dcd03dc3e8a59ec2e360d0c62db517baa0b4bb6d # v7.2.0
1821
with:
1922
check_dot_files: false
2023
incremental_files_only: true

.github/workflows/super-linter.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ jobs:
2424

2525
steps:
2626
- name: Checkout Code
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828
with:
2929
fetch-depth: 0
30+
persist-credentials: false
3031

3132
- name: Super-linter
32-
uses: super-linter/super-linter/slim@v8
33+
uses: super-linter/super-linter/slim@v8.1.0
3334
env:
3435
DEFAULT_BRANCH: main
3536
FILTER_REGEX_EXCLUDE: '/test/'
@@ -44,9 +45,10 @@ jobs:
4445
VALIDATE_CSS: false
4546
VALIDATE_EDITORCONFIG: false
4647
VALIDATE_GIT_COMMITLINT: false
48+
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
4749
VALIDATE_HTML_PRETTIER: false
4850
VALIDATE_JAVASCRIPT_PRETTIER: false
4951
VALIDATE_JSON_PRETTIER: false
5052
VALIDATE_JSCPD: false
5153
VALIDATE_NATURAL_LANGUAGE: false
52-
VALIDTAE_YAML_PRETTIER: false
54+
VALIDATE_YAML_PRETTIER: false

0 commit comments

Comments
 (0)