From 92ab19d009f4670bd572f33721e08ab838fdf6a2 Mon Sep 17 00:00:00 2001 From: Vialli Kavoo <30293428+viallikavoo@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:05:48 +0200 Subject: [PATCH] Add coana.yaml with updated cron schedule --- .github/workflows/coana.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/coana.yaml diff --git a/.github/workflows/coana.yaml b/.github/workflows/coana.yaml new file mode 100644 index 0000000..3828548 --- /dev/null +++ b/.github/workflows/coana.yaml @@ -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 }}