Skip to content

Commit

Permalink
Merge pull request #183 from htmlhint/dev/gh-update
Browse files Browse the repository at this point in the history
GitHub Action Updates
  • Loading branch information
coliff committed Feb 2, 2024
2 parents 5b19996 + b3ea374 commit 3af3ff1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"version": "0.2",
"words": [
"autobuild",
"fnames",
"htmlhint",
"htmlhintrc",
Expand All @@ -9,7 +10,7 @@
"tagname",
"VSIX"
],
"language": "en-US",
"language": "en,en-US",
"ignorePaths": [".cspell.json"],
"useGitignore": true
}
21 changes: 17 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches:
- main
- "!dependabot/**"
branches: [ "main" ]
workflow_dispatch:

jobs:
Expand All @@ -17,15 +17,28 @@ jobs:
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript-typescript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "javascript"
languages: ${{ matrix.language }}
queries: +security-and-quality
config: |
paths-ignore:
- test/*
- name: Autobuild
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
3 changes: 1 addition & 2 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Check spelling"
on: # rebuild any PRs and main branch changes
on:
push:
branches: [main]
pull_request:
Expand All @@ -19,4 +19,3 @@ jobs:
check_dot_files: false
incremental_files_only: true
inline: warning
strict: false

0 comments on commit 3af3ff1

Please sign in to comment.