From fad9e1284e465b4af030f98e63f13539891f077f Mon Sep 17 00:00:00 2001 From: Marc Stern Date: Mon, 30 Sep 2024 16:44:44 +0200 Subject: [PATCH 1/4] coverity --- .github/workflows/coverity.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/coverity.yml diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml new file mode 100644 index 0000000000..4c777850aa --- /dev/null +++ b/.github/workflows/coverity.yml @@ -0,0 +1,17 @@ +name: Coverity Scan + +on: + push: + pull_request: +# We only want to test official release code, not every pull request. +# branches: [main] + +jobs: + coverity: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: vapier/coverity-scan-action@v1 + with: + email: ${{ secrets.COVERITY_SCAN_EMAIL }} + token: ${{ secrets.COVERITY_SCAN_TOKEN }} \ No newline at end of file From 5e80d83be7e1bd56018153f36b332c0a4f2ac651 Mon Sep 17 00:00:00 2001 From: Marc Stern Date: Mon, 30 Sep 2024 16:58:16 +0200 Subject: [PATCH 2/4] secrets --- .github/workflows/coverity.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 4c777850aa..6c89fc1631 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -10,6 +10,9 @@ jobs: coverity: runs-on: ubuntu-latest steps: + - env: + COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} + COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} - uses: actions/checkout@v3 - uses: vapier/coverity-scan-action@v1 with: From f5cab8bd7276102d53af9b775beb733f7f11c25b Mon Sep 17 00:00:00 2001 From: Marc Stern Date: Mon, 30 Sep 2024 17:00:46 +0200 Subject: [PATCH 3/4] TOKEN --- .github/workflows/coverity.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 6c89fc1631..29506ba899 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -13,6 +13,7 @@ jobs: - env: COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} + TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} - uses: actions/checkout@v3 - uses: vapier/coverity-scan-action@v1 with: From b173e75fad974df030a9e8ff30f02784263b1051 Mon Sep 17 00:00:00 2001 From: Marc Stern Date: Mon, 30 Sep 2024 17:04:13 +0200 Subject: [PATCH 4/4] syntax --- .github/workflows/coverity.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 29506ba899..ed22100c9c 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -10,10 +10,11 @@ jobs: coverity: runs-on: ubuntu-latest steps: - - env: - COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} - COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} - TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} + - name Secrets + env: + COVERITY_SCAN_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }} + COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} + TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} - uses: actions/checkout@v3 - uses: vapier/coverity-scan-action@v1 with: