Files
samber_cc-skills-golang/.github/workflows/lint.yml
T
Samuel BertheandGitHub 5ab41df4d9 feat: add AI-driven code review workflow with skill plugin (#23)
* 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
2026-04-29 00:08:27 +02:00

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'