Skip to content

Commit 9274725

Browse files
authored
Add coana.yaml with updated cron schedule (#8)
1 parent fec5c22 commit 9274725

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/coana.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Coana Vulnerability Analysis
2+
'on':
3+
schedule:
4+
- cron: 44 20 * * *
5+
workflow_dispatch: null
6+
jobs:
7+
coana-vulnerability-analysis:
8+
runs-on:
9+
- self-hosted
10+
- default
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
- name: Checkout Dixa custom Github Actions
15+
uses: actions/checkout@v3
16+
with:
17+
repository: dixahq/github-actions
18+
token: ${{ secrets.DIXAROBOT_GITHUB_READONLY_TOKEN }}
19+
path: .github/actions
20+
ref: coana-scan
21+
- name: Run Coana CLI
22+
uses: ./.github/actions/coana-scan
23+
with:
24+
repo-url: https://github.com/${{ github.repository }}
25+
coana-api-key: ${{ secrets.COANA_API_KEY }}
26+
gh-token: ${{ secrets.DIXAROBOT_GITHUB_READONLY_TOKEN }}
27+
maven-repo-user: ${{ secrets.MAVEN_REPO_USER }}
28+
maven-repo-password: ${{ secrets.MAVEN_REPO_PASSWORD }}

0 commit comments

Comments
 (0)