Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
ci: add coana reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jazmon committed Feb 29, 2024
1 parent b6fe67e commit f0f77bb
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/coana-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Coana Vulnerability Analysis

on:
schedule:
- cron: "0 3 * * *" # every day at 3 AM
workflow_dispatch: # run manually

jobs:
coana-vulnerability-analysis:
runs-on: ubuntu-latest
timeout-minutes: 120

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Enable corepack for Node
run: corepack enable

- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20

- run: yarn install --frozen-lockfile
- run: yarn install --frozen-lockfile
working-directory: ./docs

- name: Run Coana CLI
id: coana-cli
uses: coana-tech/coana-action/vulnerability-analysis@stable
with:
apiKey: ${{ secrets.COANA_API_KEY_PUBLIC_REPOS }}
repoUrl: https://github.com/${{github.repository}}
debug: "true"
uploadReportArtifact: "true"

0 comments on commit f0f77bb

Please sign in to comment.