Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/snyk-agent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Daily Snyk Agent

on:
schedule:
# Runs at 9:00 AM UTC every day
- cron: "0 9 * * *"
workflow_dispatch: # Allows manual triggering

jobs:
run-cn-task:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: "20"

- name: Install Continue CLI globally
run: npm install -g @continuedev/cli@latest

- name: Run Snyk Agent
run: cd extensions/cli && cn -p --agent continuedev/snyk-code-scan-agent "The current directory"
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
Loading