Skip to Content
agore-skill
Reference

CI workflows

Every workflow in .github/workflows — jobs, triggers and permissions.

Five workflows live in .github/workflows/. Every third-party action is pinned to a commit SHA.

ci.yml — CI

AspectValue
Triggerspush to main, PR to main, workflow_dispatch
Permissionscontents: read
Concurrencygrouped per ref, cancel-in-progress

Jobs:

  • go — matrix over ubuntu-latest, macos-latest, windows-latest (fail-fast: false); checkout, mise with cache, mise run build, mise run test.
  • quality — mise run ci (build, vet, test, race, coverage gate) and uploads coverage.out as an artifact (14 days). The upload step is skipped when env.ACT is set — act's artifact server lacks the upload-artifact@v7 protocol.
  • lint — mise run lint (golangci-lint, actionlint, shellcheck, goreleaser check).
  • security — mise run security (govulncheck).
  • docs — installs docs dependencies from the lockfile and runs pnpm --dir docs build.

codeql.yml — CodeQL

AspectValue
Triggerspush/PR to main, weekly cron 24 3 * * 1, workflow_dispatch
Permissionscontents: read; the analyze job adds actions/packages: read, security-events: write

The analyze job runs a matrix over Go and javascript-typescript (the docs site), initializes CodeQL, builds go build ./... for the Go leg, and uploads SARIF under a per-language category.

dependency-review.yml — Dependency review

AspectValue
TriggersPR to main
Permissionscontents: read; the job adds pull-requests: write

Runs actions/dependency-review-action with fail-on-severity: high and comments the summary in the PR. Checkout uses persist-credentials: false.

release.yml — Release CLI

AspectValue
Triggerspush of tags v*, workflow_dispatch with a dry_run input (default true)
Permissionscontents: write, id-token: write
Concurrencygrouped per ref, not cancel-in-progress

The goreleaser job: checkout with full history and no persisted credentials, mise toolchain, cosign installed only on real runs (tag push or explicit dry_run: false). Two GoReleaser paths:

  • snapshot dry run (dispatch with default input) — release --snapshot --clean --skip=publish,sign, then verifies dist/checksums.txt exists and lists the artifacts; never signs or publishes.
  • publish (tag push or explicit false) — release --clean with signing.

Skill-release tags (<skill>/vX.Y.Z) do not match the v* filter, so the two release namespaces stay independent.

scorecard.yml — OpenSSF Scorecard

AspectValue
Triggersbranch_protection_rule, push to main, weekly cron 40 4 * * 1, workflow_dispatch
Permissionsread-all; the job adds id-token: write, security-events: write

Runs ossf/scorecard-action with results_file: results.sarif and publish_results: false (the repository is private; publishing must stay off until it becomes public). Uploads the SARIF artifact (14 days) and publishes it to code scanning.

On this page