mirror of
https://github.com/samber/cc-skills-golang.git
synced 2026-09-14 13:06:26 +03:00
* docs: add CI/AI-driven code review section to README * chore: add .worktrees/ to .gitignore * feat: add AI-driven code review workflow with skill plugin - New GOLANG-AI-DRIVEN-REVIEW.md doc with 6-job Claude Code Action workflow (quality, correctness, security, quality-depth, ci-diagnosis, discuss) - New assets: claude-code-review.yml workflow + copilot-review-instructions.md - Workflow features: per-event concurrency lanes, 15min timeout, sticky comments, skill loading via npx skills add -a claude-code, Skill() invocation syntax in prompts - Cross-references to golang-continuous-integration in 7 skills (security, testing, linter, concurrency, error-handling, code-style, safety) - Tighten CI security: add permissions blocks to lint/security-scan, remove unused id-token from update workflows, add SARIF upload + exit-code to Trivy/Bearer
27 lines
741 B
YAML
27 lines
741 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths: ['skills/**', 'CLAUDE.md', 'README.md', 'EVALUATIONS.md', '.markdownlint-cli2.jsonc', '.github/workflows/lint.yml']
|
|
pull_request:
|
|
paths: ['skills/**', 'CLAUDE.md', 'README.md', 'EVALUATIONS.md', '.markdownlint-cli2.jsonc', '.github/workflows/lint.yml']
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
if: github.event_name != 'schedule' || github.repository_owner == 'samber'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
# Markdown linting
|
|
- name: markdownlint-cli2-action
|
|
uses: DavidAnson/markdownlint-cli2-action@v23
|
|
with:
|
|
config: '.markdownlint-cli2.jsonc'
|
|
globs: '**/*.md'
|