Skip to content

Commit

Permalink
Try to use Synopsis own github action
Browse files Browse the repository at this point in the history
Signed-off-by: Simo Sorce <simo@redhat.com>
  • Loading branch information
simo5 committed Mar 25, 2024
1 parent 8658522 commit 51aa5b9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/coverity-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Coverity Scan

on:
pull_request_target:
pull_request:
branches: ["main"]
types:
- labeled
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
dnf -y install git gcc automake libtool pkgconf-pkg-config \
autoconf-archive openssl-devel openssl \
nss-softokn nss-tools nss-softokn-devel \
gh
unzip gh
- name: Find PR
uses: suzuki-shunsuke/get-pr-action@v0.1.0
id: pr
Expand All @@ -70,11 +70,13 @@ jobs:
autoreconf -fiv
./configure
- name: Coverity Scan
uses: vapier/coverity-scan-action@v1
uses: synopsys-sig/synopsys-action@v1.8.0
with:
project: "PKCS%2311+Provider"
email: ${{ secrets.COVERITY_SCAN_EMAIL }}
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
coverity_url: "https://scan.coverity.com/builds?project=PKCS%2311+Provider"
coverity_user: ${{ secrets.COVERITY_SCAN_EMAIL }}
coverity_passphrase: ${{ secrets.COVERITY_SCAN_TOKEN }}
coverity_prComment_enabled: true
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Remove Label
if: always()
run: gh pr edit "$NUMBER" --remove-label "covscan"
Expand Down

0 comments on commit 51aa5b9

Please sign in to comment.