diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/coverity.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index c9e25ebf9..9d1119a82 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -9,7 +9,7 @@ on: - .github/workflows/coverity.yml - coverity-scan.sh env: - DO_NOT_TRACK: 1 + DISABLE_TELEMETRY: 1 concurrency: group: coverity-${{ github.ref }} cancel-in-progress: true @@ -19,10 +19,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 + id: checkout with: submodules: recursive - name: Prepare environment + id: prepare env: DEBIAN_FRONTEND: 'noninteractive' run: | @@ -33,12 +35,13 @@ jobs: libprotoc-dev libssl-dev protobuf-compiler \ libnetfilter-acct-dev - name: Run coverity-scan + id: run env: REPOSITORY: 'netdata/netdata' COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} COVERITY_SCAN_SUBMIT_MAIL: ${{ secrets.COVERITY_SCAN_SUBMIT_MAIL }} run: | - ./coverity-scan.sh --with-install + bash -x ./coverity-scan.sh --with-install - name: Failure Notification uses: rtCamp/action-slack-notify@v2 env: @@ -47,6 +50,11 @@ jobs: SLACK_ICON_EMOJI: ':github-actions:' SLACK_TITLE: 'Coverity run failed:' SLACK_USERNAME: 'GitHub Actions' + SLACK_MESSAGE: |- + ${{ github.repository }}: Coverity failed to run correctly. + Checkout: ${{ steps.checkout.outcome }} + Environment preparation: ${{ steps.prepare.outcome }} + Coverity run: ${{ steps.run.outcome }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} if: ${{ failure() |