Skip to content

Commit

Permalink
use new coana action
Browse files Browse the repository at this point in the history
  • Loading branch information
mtorp committed Oct 21, 2023
1 parent 053eea3 commit 1e61ce3
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/coana-cli.yml → .github/workflows/coana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name: Coana CLI

on: pull_request
on: push

jobs:
# run extension unit tests
Expand All @@ -11,8 +11,6 @@ jobs:
defaults:
run:
working-directory: .
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v3

Expand All @@ -26,12 +24,7 @@ jobs:

- name: Run Coana CLI
id: coana-cli
uses: coana-tech/coana-action@v5

- name: Print output
run: echo "Markdown ${{steps.coana-cli.outputs.markdown}}"

- uses: mshick/add-pr-comment@v2
uses: coana-tech/coana-action/vulnerability-analysis@stable
with:
message: |
${{steps.coana-cli.outputs.markdown}}
apiKey: ${{ secrets.COANA_API_TOKEN }}
repoUrl: https://github.com/${{github.repository}}

0 comments on commit 1e61ce3

Please sign in to comment.