-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add coana.yaml with updated cron schedule (#8)
- Loading branch information
1 parent
fec5c22
commit 9274725
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Coana Vulnerability Analysis | ||
'on': | ||
schedule: | ||
- cron: 44 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 }} |