mirror of
https://github.com/samber/cc-skills-golang.git
synced 2026-09-17 06:26:28 +03:00
9cfe9ad524
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
29 lines
656 B
YAML
29 lines
656 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@v7
|
|
|
|
- name: Run Snyk Agent Scan
|
|
run: uvx snyk-agent-scan@latest --ci --dangerously-run-mcp-servers --skills ./skills
|
|
env:
|
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|