--- title: "GitHub Actions" description: "Bring SkillEvaluator to your GitHub repository with a reusable workflow, clear results and optional PR feedback." --- Bring quality and security checks to your repository. No model key required. Optional LLM checks are available. Choose your skill folders; pull requests check changed skills automatically. The shared image includes **SkillSpector security scanning**. Answer a few questions. The CLI prepares checks, optional hosted feedback and a setup PR. Copy the ready-to-use templates. No local CLI installation required. ## Get started The scanner uses one **default validation policy** for public and private repositories. There is no `internal`/`external` workflow input. Older images call this same policy `external`; that label does not publish your repository or reports. ### Copy the ready-to-use template Open [skill-checks.yml](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/bundles/1.4.0/skill-checks.yml) from the [ready-to-use templates](https://github.com/NVIDIA/SkillEvaluator/tree/main/ci/bundles/1.4.0). Use GitHub's **Raw** view to copy it into `.github/workflows/skill-checks.yml`. The template already supplies pinned workflow and image versions. ### Point it at your skills Edit these inputs in the downloaded file: ```yaml title="Your choices in skill-checks.yml" with: paths: |- skills .agents/skills min-score: 70 scan-mode: auto llm: false ``` Use your own skill folders. Keep `auto` to scan changed skills in PRs; `all` checks the configured collection. If your default branch is not `main`, update the template's push branch. The template supports `enforcement-mode`. Omit it for strict merge gating, or choose advisory enforcement as described below. ### Commit the workflow and open a skill PR Merge the workflow onto your default branch, then open a PR changing a selected skill. GitHub Actions must be enabled and allowed to use the referenced reusable workflow and actions. The released template provides **checks and downloadable reports**. Add [PR comments](#enable-pr-comments) or [hosted reports and PR comments](#enable-hosted-reports) with a second workflow. Both templates are included in the release bundle. Browse the public [template catalog](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/README.md) and [skill-checks.yml source](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/skill-checks.yml). Source templates contain placeholders. Use the release-generated file when onboarding; do not substitute `main` or `latest` for its immutable versions. ## Follow the latest stable release For new setups, the opt-in stable channel keeps skill checks and optional PR feedback on the same approved release. Use `skillevaluator ci init --channel stable` with a CLI release that supports this option. The versioned templates above are available for repositories that review each evaluator upgrade separately. Use `@stable` only with the `-stable.yml` entry points below. Pin every other reusable workflow to the full commit SHA supplied by the released template. For a new manual setup, start with the released templates. To migrate an existing pinned setup, apply these edits to its current workflow files in one PR. 1. In `skill-checks.yml`, set the scan job's `uses` to `NVIDIA/SkillEvaluator/.github/workflows/skill-checks-stable.yml@stable`. Remove the job's `image` input and any explicit `artifact-name`. The channel supplies the image and uses `skill-evaluator-tier1`. Keep your paths, scan policy, and `contents: read` permission. Add `id-token: write` for PR feedback. 2. For PR feedback, choose one workflow. For comments without Pages, follow [Set up stable PR comments](#set-up-stable-pr-comments). For hosted feedback, follow the [Pages setup](#enable-hosted-reports). In `publish-skill-reports.yml`, set the publisher job's `uses` to `NVIDIA/SkillEvaluator/.github/workflows/publish-skill-reports-stable.yml@stable`. Keep the publisher template's `permissions` block. Remove its `trusted-evaluator-shas`, `tools-ref` and `tools-repository` inputs, and set `trusted-caller-blobs` to the Git blob of your edited scan file. Use the maintained tag after its first promotion. A new run picks up later stable releases without a caller edit. Published reports verify the scan's historically resolved workflow and signed receipt. The first switch adds a reusable job level, so check any required status-check names on a new PR. ## Set up stable PR comments Use this setup after the [comment workflow appears on the stable tag](https://github.com/NVIDIA/SkillEvaluator/tree/stable/.github/workflows). Until then, the [versioned setup](#enable-pr-comments) supports comments without hosting. ### Enable signed scan results Set up the [stable scan](#follow-the-latest-stable-release). Keep `id-token: write` on the scan job. If you're switching from hosted reports, remove `report-base-url` from the scan job's `with` inputs to clear the old Pages link from the scan summary. ### Add the comment workflow Copy the [stable comment template](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/manual/comment-skill-checks-stable.yml) to `.github/workflows/comment-skill-checks.yml`. If you're switching from hosted reports, remove `.github/workflows/publish-skill-reports.yml` in the same setup PR. Set `workflow_run.workflows` to your scan workflow's name if you changed it from **Skill checks**. ### Approve the scan file Run `git hash-object .github/workflows/skill-checks.yml` and paste the result into `trusted-caller-blobs` in the comment file. Refresh this value when you edit the scan file. Both workflows follow future stable releases automatically. ### Verify the comment Merge the setup PR, then open a skill-change PR from a branch in the same repository. Look for the scored comment in **Conversation**, and download the HTML report from the scan run in **Actions**. ## See what happened | Start here | Then open | | --- | --- | | **PR → Checks** | The `skills / Tier 1 scan` result and its short summary. | | **Actions → Skill checks** | The run and downloadable report artifact. | | **PR → Conversation**, with feedback enabled | The updated scored bot comment and workflow run; hosted publication also adds **Open full report**. | Download `skill-evaluator-tier1-attempt-N`, extract it, and open `index.html`. Failed scans retain their available reports too. The HTML separates the **verdict** from the **quality score**: a high score does not override a failed required security or schema check. If you run the CLI in your own workflow step instead of the reusable scanner, add `github` to `-r` (for example `skillevaluator validate ./skills --tiers 1 -r cli,github`) to print inline annotations without a SARIF upload. GitHub shows at most 10 error, 10 warning, and 10 notice annotations per step; see [GitHub annotations](/skills/skillevaluator/reports#github-annotations). Pin the reusable workflow at a revision that includes the `upload-sarif` input; check whether your chosen release or stable template exposes it. In a caller of `evaluate-skills.yml`, grant the job `contents: read`, `actions: read`, and `security-events: write`, and add: ```yaml with: scan-mode: all upload-sarif: true sarif-category: skillevaluator-skills ``` Keep the existing required `image` and other inputs. Code Scanning must be available and enabled for the repository; private and internal repositories require GitHub Code Security. The caller cannot grant a reusable workflow more permissions than it has itself. Fork PR tokens may be read-only, and the upload action ignores the requested commit on fork PRs. Full-scan publication therefore skips with a warning on fork PRs rather than attributing head results to the merge commit. The scan verdict still determines the job outcome, so a successful job does not guarantee SARIF was published. Publication is unsupported for `pull_request_target`; do not use that event to run untrusted PR code with a privileged token. Upload is off by default. A complete full scan is uploaded even if its policy verdict fails; strict and advisory verdicts retain their existing meanings. Upload, missing-report, malformed-report, and incomplete-scan errors fail the job. Artifacts remain available as before. Changed-only scans, including PRs with no changed skills under `scan-mode: auto`, skip publication to avoid replacing a complete baseline with partial results. An empty or incomplete full scan also does not replace the baseline. Keep the category stable for the same configured collection, and use a distinct category for each independent workflow invocation or collection. Run full scans on the default branch to refresh its baseline; a narrower `paths` configuration under the same category can close alerts outside that scope. To publish PR analyses, explicitly select `scan-mode: all` for same-repository PRs and ensure the event's token can upload. Fork PRs do not publish; run a full scan on the default branch after merging. Each alert's title is the finding's own message; the rule shown with it is the check name. A finding about the skill as a whole, such as a dependency advisory with no file, is reported at line 1 of the skill's `SKILL.md` with a note in its message, so GitHub can annotate and track it. All findings share one SARIF run. GitHub rejects runs over 25,000 results and includes only the 5,000 highest-priority results when a run exceeds that display limit. The workflow warns in the run and step summary before upload when the report exceeds 5,000 results; it still attempts the upload, including when the report exceeds GitHub's 25,000-result limit. See [GitHub's SARIF limits](https://docs.github.com/en/code-security/reference/code-scanning/sarif-support-for-code-scanning#file-compatibility) when scanning large collections. The current bundle pins a matching workflow and scanner image with `enforcement-mode` support. For an existing 0.8.0 workflow, review both pins together before adding this input; the older workflow does not accept it. With compatible pins, omit `enforcement-mode` or set it to `strict` for merge gating. Set `enforcement-mode: advisory` for visibility runs: complete policy or score failures retain their failed verdict and full artifacts, emit a workflow warning, and leave the job successful. Configuration errors, incomplete scanners, missing or malformed evidence, and runtime failures still fail the job. Hosted publication and PR comments run for advisory downgrades recorded as `enforcement: {mode: advisory, downgraded: true}`; strict failures still require a failing workflow conclusion. An older image without advisory support rejects the explicit advisory flag; strict mode continues to work with existing images. The `metadata.author` attribution is accepted. Extra copies in contact fields, body text, or reference documents are checked separately. Keep the author field and use a handle or contact-directory link for extra contact information. See [author attribution and approved exceptions](/skills/skillevaluator/tier1-reference#author-attribution-and-contact-emails). This requires a workflow and image version that include baseline support; existing released templates do not gain it automatically. Set `security-baselines: true` in the reusable scan job and add a reviewed `.skillevaluator/skillspector-baselines.yaml` mapping each skill to its baseline. For PRs, CI reads both the mapping and baseline from the target branch, so merge the approved policy before expecting it to apply. Regenerate and review fingerprint exceptions when the scanner version changes. Baselines do not waive PII checks or incomplete analysis. The [baseline setup guide](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/README.md#reviewed-security-baselines) covers the file format and shared-component forwarding. SkillEvaluator report table showing the skill verdict, score and link to its detailed report ### On the pull request With PR feedback enabled, one bot comment is updated for new results. Reviewers see the issue and next step without reading the full Actions log.
**github-actions[bot]** **Tier 1 scan result: FAILED** 1 skill · 0 passed · 1 failed · 0 incomplete | Skill | Status | Quality / 100 | | --- | --- | --- | | `skills/glossary-builder` | FAIL | 98.2 / A | **Problem:** Quality score 98.2/100 is below the required 100/100. **Next step:** Open the skill report and address its quality findings. **Open full report** · **View workflow run**
Browse the [public report and log examples](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/examples/README.md) for more detail. No personal demo-repository access is needed. ## Enable PR comments Use the canonical [comment-skill-checks.yml workflow](https://github.com/NVIDIA/SkillEvaluator/blob/main/.github/workflows/comment-skill-checks.yml) for the same Tier 1 comment without hosted reports. It shows counts, status, quality score and grade, and the first action for each affected skill. Full reports remain downloadable from the scan run. Pages settings, a history branch and a report URL are not required. If your checks follow `@stable`, use the [stable comment setup](#set-up-stable-pr-comments). For versioned checks, follow the pinned setup below. The current bundle includes the comments-only workflow; the archived 0.9.0 bundle does not. Default `skillevaluator ci init` feedback still configures the hosted publisher. 1. Keep the **Skill checks** scan as one reusable job in `.github/workflows/skill-checks.yml`, with its reviewed evaluator and image pins. Enable `id-token: write` for signed execution receipts. 2. Add the [comment workflow template](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/bundles/1.4.0/comment-skill-checks.yml) as `.github/workflows/comment-skill-checks.yml`. Pin its workflow and tools to the reviewed comment revision, approve the scanner revision, and set `trusted-caller-blobs` to the output of `git hash-object .github/workflows/skill-checks.yml` after all scan-file edits. 3. Merge both files into the default branch, then open a skill PR. The comment workflow needs `contents: read`, `actions: read` and `pull-requests: write`. Choose this workflow or the hosted publisher for feedback. Comments run when the scan completes, including failures with valid retained evidence. No changed skills keeps the existing **No skills changed** result. Only open, current-head PRs from the same repository receive a comment; fork PRs, stale results, expired artifacts and failures without verifiable evidence do not. Manual retries require both the completed run ID and attempt number. Follow the [full comment setup](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/README.md#pr-comments-without-hosted-reports) for the exact inputs and shared-wrapper approvals. ## Enable hosted reports The optional publisher hosts the HTML and posts a comment **after deployment succeeds**. It needs a second workflow plus one-time hosting and approval settings. The CLI recognizes an existing single-job scan, keeps its settings and component version tag, and adds reporting in a setup PR. New repositories get both workflows. Copy [publish-skill-reports.yml](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/bundles/1.4.0/publish-skill-reports.yml) from the same template folder as your scan workflow. Complete the one-time setup below, or let the [CLI](/skills/skillevaluator/cli-onboarding) handle it. Start with the filled-in publisher template and follow the [publisher setup guide](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/README.md#optional-hosted-reports-and-pr-feedback). The main steps are: 1. Enable **Settings → Pages → Source: GitHub Actions** and initialize the `gh-pages` report-history branch. For private reports, an administrator must also select **Private** site visibility in GitHub's settings; see the private-hosting requirements below. Preserve any existing site or history. 2. Add `publish-skill-reports.yml` with your Pages URL. For a pinned setup, keep the evaluator and publisher versions supplied by the release. For a stable setup, use the [stable workflow references and inputs](#follow-the-latest-stable-release). 3. Grant the scan workflow `id-token: write`, then approve its exact contents in the publisher's `trusted-caller-blobs` input. Compute the value with `git hash-object .github/workflows/skill-checks.yml`; refresh it whenever that scan file changes. 4. Merge both workflow files into the default branch. Open a new skill PR to test checks, hosting and feedback together. Keep the **Skill checks** workflow name, scan filename and default artifact name. The publisher uses GitHub's automatic token; organization policies must allow its permissions and referenced actions. Copying a second file alone does not finish setup. Comments are posted on open, current-head PRs from branches in the same repository. Fork-origin PRs keep their available reports in Actions. Pages is public unless explicitly configured as private; repository privacy alone does not make its Pages site private. Reports may contain source excerpts and unmerged findings. Use downloadable artifacts when public hosting is unsuitable. Access-controlled Pages requires a private or internal project repository owned by a GitHub Enterprise Cloud organization. An administrator first selects **GitHub Actions** and **Private** in **Settings → Pages**. The REST API cannot set Pages visibility. Personal repositories cannot host private Pages. The CLI verifies the existing private site and uses its assigned `*.pages.github.io` URL. It accepts an existing SkillEvaluator report site or a newly configured empty private site, and preserves unrelated websites. If private hosting is unavailable, choose checks only. See [private report hosting](/skills/skillevaluator/cli-onboarding#private-report-hosting) for the guided path and [GitHub's access-control requirements](https://docs.github.com/en/enterprise-cloud@latest/pages/getting-started-with-github-pages/changing-the-visibility-of-your-github-pages-site). ## Fit it into your workflow This workflow runs independently. Existing workflows remain separate; it does not automatically wait for them to finish. Configure explicit workflow dependencies if your pipeline needs that ordering. `auto` selects affected skills on pull requests. Pushes to the default branch and manual runs scan the configured collection. `all` scans that collection each time. No changed skills is a successful **Skipped** result, not a scanner pass. Changes to shared files outside the skill roots are not inferred dependencies; use `all` when they should trigger a full scan. Selection is capped at 100 skills. Timeouts retain completed results and mark unfinished work incomplete. The workflow scans up to four skills at once; `scan-workers` accepts 1–16. After the first run, select its scan check in GitHub branch rules. The current template emits `skills / Tier 1 scan`; use the actual check name shown in your repository. `min-score` sets the quality threshold; required security, schema and other checks remain independent. The reusable scanner runs quality and security checks only. Keep `enforcement-mode: strict` for a required check. Advisory checks stay green on failed policy or score verdicts, so do not use them as required merge gates. Confirm setup is on the default branch and the PR is eligible for comments. Open **Comment skill checks**, or **Publish skill reports** if using hosting, and inspect the evidence validation result. The hosted publisher also needs successful deployment. Check the scan's `id-token: write` permission and `trusted-caller-blobs` value. A new scan must use the updated workflow; rerunning an old job keeps its original workflow. The scan's downloadable report remains a separate way to inspect available findings. The comments-only workflow accepts the same caller, wrapper and evaluator approvals as the hosted publisher. Keep the standard rendering in SkillEvaluator and use the [manual comment setup](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/README.md#pr-comments-without-hosted-reports). The released CLI setup below configures hosted publication. Keep the component reference in your existing caller, for example `your-org/ci/.github/workflows/skill-checks.yml@v3`, then run `skillevaluator ci init` in each consumer repository. The CLI recognizes `.github/workflows/skill-checks.yml` with the name **Skill checks** and one reusable scan job. It preserves inputs, triggers and the version tag while adding the publisher and any needed scan-job `id-token: write` permission. The component maintainer must first grant `id-token: write` in the job calling the evaluator. The CLI checks that prerequisite before applying reporting setup; a consumer permission alone cannot grant it downstream. With delegation, the publisher approves the exact component path and tag in `trusted-wrapper-workflows` and `delegated-evaluator-wrapper`. Updating `v3` then updates future scans centrally, with no consumer workflow edit. Published execution receipts record the resolved component and evaluator commit SHAs for each run. The component still pins its evaluator and image immutably. Use a full component SHA when you want to hold that version fixed. Use SkillEvaluator 0.7.2 or later and its reviewed publisher for these delegation inputs; the archived 0.7.1 publisher does not. Direct callers keep an immutable evaluator approval. For manual configuration, follow the [shared-workflow setup](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/README.md#calling-through-a-shared-workflow) guide. Hosted PR comments follow successful report deployment; private reports require the private Pages setup described above. Default checks use no model key. Dependency audits can contact vulnerability services and submit package metadata. The audits inspect the declared dependencies without installing them or running build scripts. For optional LLM checks, copy `skill-checks-llm.yml` from the [released CI bundle](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/bundles/README.md). Follow the [provider and secret setup](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/README.md#optional-llm-checks). The manual workflow sends selected content to your provider, incurs provider charges, and is outside the default publisher allowlist. See the guided setup and try your first test PR. Use the shared scanner image with a GitLab pipeline.
For the explicit all-tier opt-in and its prerequisites, see [Advanced CI](/skills/skillevaluator/advanced-ci). The [GitHub setup reference](https://github.com/NVIDIA/SkillEvaluator/blob/main/ci/templates/all-tiers/README.md#github-checks-and-feedback) preserves the detailed contracts.