Skip to content

Commit

Permalink
Merge pull request #26 from dixahq/add-coana-scan
Browse files Browse the repository at this point in the history
Add Coana scanning to the repo
  • Loading branch information
chrmay authored Jun 25, 2024
2 parents 0225776 + 92ab19d commit b883e28
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/coana.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Coana Vulnerability Analysis
'on':
schedule:
- cron: 32 20 * * *
workflow_dispatch: null
jobs:
coana-vulnerability-analysis:
runs-on:
- self-hosted
- default
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout Dixa custom Github Actions
uses: actions/checkout@v3
with:
repository: dixahq/github-actions
token: ${{ secrets.DIXAROBOT_GITHUB_READONLY_TOKEN }}
path: .github/actions
ref: coana-scan
- name: Run Coana CLI
uses: ./.github/actions/coana-scan
with:
repo-url: https://github.com/${{ github.repository }}
coana-api-key: ${{ secrets.COANA_API_KEY }}
gh-token: ${{ secrets.DIXAROBOT_GITHUB_READONLY_TOKEN }}
maven-repo-user: ${{ secrets.MAVEN_REPO_USER }}
maven-repo-password: ${{ secrets.MAVEN_REPO_PASSWORD }}

0 comments on commit b883e28

Please sign in to comment.