mirror of
https://github.com/samber/cc-skills-golang.git
synced 2026-09-20 16:06:32 +03:00
* ci: bump astral-sh/setup-uv to v10 * fix: pin astral-sh/setup-uv to v10.0.1 The action does not publish floating major-version tags (only full semver like v10.0.1, v10.0.0) — v10 does not exist as a ref.
29 lines
661 B
YAML
29 lines
661 B
YAML
name: Security scan skills
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths: ['skills/**']
|
|
pull_request:
|
|
paths: ['skills/**']
|
|
schedule:
|
|
- cron: '0 10 1 * *' # 1st of every month at 10am UTC
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
snyk-agent-scan:
|
|
if: github.event_name != 'schedule' || github.repository_owner == 'samber'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- uses: astral-sh/setup-uv@v10.0.1
|
|
|
|
- name: Run Snyk Agent Scan
|
|
run: uvx snyk-agent-scan@latest --ci --dangerously-run-mcp-servers --skills ./skills
|
|
env:
|
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|