Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ All notable changes to SkillEvaluator are documented in this file.

- The CI guide's `jq` quality gate fails when a report has no quality score
(it passed before) and checks every skill's report in a folder run.
- The CI guide's GitHub Actions recipe pins each action to a commit SHA, as the
repository's own workflows do.

- The starter walkthrough identifies the PASS message as the success summary;
the runner's final line gives the report and editable-starter directory.
Expand Down
14 changes: 9 additions & 5 deletions docs/ci-integration.mdx
Comment thread
chrisknvidia marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
pull-requests: write
security-events: write
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0

- name: Install uv
uses: astral-sh/setup-uv@v8
uses: astral-sh/setup-uv@d31148d669074a8d0a63714ba94f3201e7020bc3 # v8.3.0
with:
python-version: "3.13"

Expand All @@ -90,7 +90,7 @@ jobs:

- name: Upload reports
if: always()
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: skillevaluator-reports
path: reports/
Expand Down Expand Up @@ -128,14 +128,14 @@ jobs:

- name: Upload SARIF to GitHub Code Scanning
if: always() && steps.sarif.outputs.count != '0'
uses: github/codeql-action/upload-sarif@v4
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
sarif_file: ${{ steps.sarif.outputs.path }}
category: skillevaluator

- name: Post the Markdown report as a PR comment
if: always() && github.event_name == 'pull_request'
uses: actions/github-script@v9
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
const fs = require("fs");
Expand All @@ -152,6 +152,10 @@ jobs:
});
```

Each action is pinned to a commit SHA, with its release in a comment, as in this
repository's own workflows, so a moved tag cannot change what the job runs.
To update an action, replace the SHA with the commit of the newer release.

SkillEvaluator installs Bandit, and the `security` extra adds pip-audit. Semgrep and SkillSpector
stay in separate uv tool environments, while Gitleaks is installed from its
official [releases](https://github.com/gitleaks/gitleaks/releases). Report
Expand Down
Loading