File tree Expand file tree Collapse file tree 5 files changed +14
-5
lines changed
Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 ,
2123 "tag-pair" : true ,
2224 "tagname-lowercase" : true ,
2325 "title-require" : true
24- }
26+ }
You can’t perform that action at this time.
0 commit comments