Merge branch 'fix/scorecard-upload-artifact-node24'

ci(scorecard): use safe artifact name and add SARIF pre-upload debug
This commit is contained in:
adrian adewunmi 2026-07-09 11:55:54 +01:00
commit 8fc21a69c2
3 changed files with 23 additions and 9 deletions

View File

@ -32,7 +32,7 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@v6
with:
persist-credentials: false
@ -58,10 +58,18 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Show SARIF file"
run: |
echo "SARIF file listing:"
ls -la results.sarif || true
echo "SARIF file type (if available):"
file results.sarif || true
- name: "Upload artifact"
uses: actions/upload-artifact@97a0fba1372883ab732affbe8f94b823f91727db # v3.pre.node20
uses: actions/upload-artifact@v7
with:
name: SARIF file
# Use a simple, lowercase artifact name without spaces to avoid API validation
name: results-sarif
path: results.sarif
retention-days: 5

View File

@ -21,6 +21,9 @@
"eslint": "^9.33.0",
"eslint-plugin-vue": "^10.4.0",
"vue-template-compiler": "^2.6.11"
},
"overrides": {
"picomatch": "2.3.2"
}
},
"node_modules/@achrinza/node-ipc": {
@ -8795,9 +8798,9 @@
"dev": true
},
"node_modules/picomatch": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
"dev": true,
"engines": {
"node": ">=8.6"
@ -18513,9 +18516,9 @@
"dev": true
},
"picomatch": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
"dev": true
},
"pkg-dir": {

View File

@ -22,6 +22,9 @@
"eslint-plugin-vue": "^10.4.0",
"vue-template-compiler": "^2.6.11"
},
"overrides": {
"picomatch": "2.3.2"
},
"eslintConfig": {
"root": true,
"env": {