Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,26 @@ jobs:
SARIF_ESLINT_IGNORE_SUPPRESSED: "true"
run: npx eslint .
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true
--output-file eslint-results.sarif || true
continue-on-error: false

- name: "Debug: commit ref and sha"
run: |
echo "event: ${{ github.event_name }}"
echo "ref: ${{ github.ref }}
echo "sha: ${{ github.sha }}

- name: "Debug: Inspect SARIF"
run: |
cat eslint-results.sarif | jq '.runs[0].tool.driver.name'
cat eslint-results.sarif | jq '.runs | length'

- name: Upload analysis results to GitHub
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: client/eslint-results.sarif
ref: ${{ github.ref }}
sha: ${{ github.sha }}
wait-for-processing: true
Loading