Skip to content

Commit 232502c

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/htmlhint-1.7.0
2 parents f9b9d35 + d59dcc9 commit 232502c

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

.github/copilot-instructions.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@
33
- Code is formatted with Prettier.
44
- Code is linted with ESLint v8.57.1
55
- All docs and code is written in US English.
6+
7+
## GitHub Actions
8+
9+
- The GitHub Actions workflows should be placed in the .github/workflows directory.
10+
- The workflows should be named `<workflow-name>.yml`.
11+
- All GitHub Actions should be pinned versions to avoid breaking changes (SHA-1).
12+
- If using actions/checkout, it should have `persist-credentials: false` set.

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
persist-credentials: false
2828

2929
- name: Initialize CodeQL
30-
uses: github/codeql-action/init@d3678e237b9c32a6c9bffb3315c335f976f3549f # v3.30.2
30+
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
3131
with:
3232
languages: "javascript"
3333
queries: +security-and-quality
3434

3535
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@d3678e237b9c32a6c9bffb3315c335f976f3549f # v3.30.2
36+
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3

.github/workflows/eslint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
continue-on-error: true
3636

3737
- name: Upload analysis results to GitHub
38-
uses: github/codeql-action/upload-sarif@d3678e237b9c32a6c9bffb3315c335f976f3549f # v3.30.2
38+
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
3939
with:
4040
sarif_file: eslint-results.sarif
4141
wait-for-processing: true

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ jobs:
3838
retention-days: 5
3939

4040
- name: "Upload to code-scanning"
41-
uses: github/codeql-action/upload-sarif@d3678e237b9c32a6c9bffb3315c335f976f3549f # v3.30.2
41+
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
4242
with:
4343
sarif_file: results.sarif

.htmlhintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
"button-type-require": true,
88
"doctype-first": true,
99
"doctype-html5": true,
10+
"form-method-require": false,
1011
"frame-title-require": true,
1112
"h1-require": true,
1213
"html-lang-require": true,
1314
"id-unique": true,
15+
"link-rel-canonical-require": false,
1416
"main-require": true,
1517
"meta-charset-require": true,
1618
"meta-description-require": true,
@@ -21,4 +23,4 @@
2123
"tag-pair": true,
2224
"tagname-lowercase": true,
2325
"title-require": true
24-
}
26+
}

0 commit comments

Comments
 (0)