Skip to content

Commit a00ab2f

Browse files
authored
Merge pull request #297 from htmlhint/dev/coliff/update-github-actions
Update GitHub Actions
2 parents 141051c + 5e52e2d commit a00ab2f

File tree

8 files changed

+32
-13
lines changed

8 files changed

+32
-13
lines changed

.cspell.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
"nvmrc",
1313
"rollup",
1414
"ruleset",
15+
"sarif",
1516
"tagname",
1617
"vite",
17-
"VSIX"
18+
"VSIX",
19+
"ZIZMOR"
1820
],
1921
"flagWords": [
2022
"hte"

.cursor/rules/general.mdc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ description:
33
globs:
44
alwaysApply: true
55
---
6+
67
- Before declaring a task is complete, compile the extension to ensure it completes with no errors.
78
- Never downgrade dependencies
89
- Always run commands using PowerShell on Windows
910
- Newly added version/features for the Extension Changelog go at the top.
10-
- As a general rule: rules, attributes, lists shoud be alphabetical order.
11+
- As a general rule: some rules, attributes, lists should be in alphabetical order.

.github/CODEOWNERS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# About CODEOWNERS - https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
2+
3+
* @coliff

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
31+
with:
32+
persist-credentials: false
3133

3234
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v3
35+
uses: github/codeql-action/init@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1
3436
with:
3537
languages: ${{ matrix.language }}
3638
queries: +security-and-quality
@@ -39,9 +41,9 @@ jobs:
3941
- test/*
4042
4143
- name: Autobuild
42-
uses: github/codeql-action/autobuild@v3
44+
uses: github/codeql-action/autobuild@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1
4345

4446
- name: Perform CodeQL Analysis
45-
uses: github/codeql-action/analyze@v3
47+
uses: github/codeql-action/analyze@f1f6e5f6af878fb37288ce1c627459e94dbf7d01 # v3.30.1
4648
with:
4749
category: "/language:${{matrix.language}}"

.github/workflows/pubish.yml renamed to .github/workflows/publish.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@ on:
55
workflow_dispatch:
66

77
name: Deploy Extension
8+
permissions:
9+
contents: read
10+
id-token: write
11+
812
jobs:
913
deploy:
1014
runs-on: ubuntu-latest
1115
steps:
12-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
with:
18+
persist-credentials: false
1319

14-
- uses: actions/setup-node@v4
20+
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1521
with:
1622
node-version: 22
1723

.github/workflows/spellcheck.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: ${{ github.actor != 'dependabot[bot]' }}
1515
steps:
16-
- uses: actions/checkout@v4
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: 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@v4
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
@@ -35,6 +36,7 @@ jobs:
3536
SUPPRESS_POSSUM: true
3637
VALIDATE_ALL_CODEBASE: false
3738
VALIDATE_EDITORCONFIG: false
39+
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
3840
VALIDATE_HTML: false
3941
VALIDATE_HTML_PRETTIER: false
4042
VALIDATE_JSCPD: false

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ jobs:
2727

2828
steps:
2929
- name: Clone repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3131
with:
3232
persist-credentials: false
3333

3434
- name: Set up Node.js
35-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3636
with:
3737
node-version: ${{ matrix.node }}
3838
cache: npm

0 commit comments

Comments
 (0)