Skip to content

Commit

Permalink
Merge pull request #5794 from osalyk/coverity_issue
Browse files Browse the repository at this point in the history
common: pass secret variables to scan_coverity.yml reusing workflow
  • Loading branch information
janekmi authored Jul 13, 2023
2 parents 5657cc7 + 3bf4e03 commit 7803d61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/scan_coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ name: Coverity
on:
workflow_dispatch:
workflow_call:
secrets:
COVERITY_SCAN_NOTIFICATION_EMAIL:
required: true
COVERITY_SCAN_TOKEN:
required: true

env:
GITHUB_REPO: pmem/pmdk
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
name: CodeQL
call-coverity:
uses: ./.github/workflows/scan_coverity.yml
secrets:
COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }}
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
name: Coverity
call-documentation:
uses: ./.github/workflows/scan_documentation.yml
Expand Down

0 comments on commit 7803d61

Please sign in to comment.