Skip to content

Commit

Permalink
Merge pull request #14713 from rgacogne/fix-coverity-secrets
Browse files Browse the repository at this point in the history
coverity: Use the correct secret token
  • Loading branch information
rgacogne authored Sep 25, 2024
2 parents c9afd54 + d94ad0b commit c3a4c1a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
28 changes: 25 additions & 3 deletions .github/workflows/coverity-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,32 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
contents: read

jobs:
call-coverity:
coverity-auth:
name: coverity scan of the auth
if: ${{ github.event.inputs.product == 'authoritative' }}
uses: PowerDNS/pdns/.github/workflows/coverity.yml@master
with:
product: ${{ github.event.inputs.product }}
secrets:
COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}
COVERITY_EMAIL: ${{ secrets.COVERITY_EMAIL }}
COVERITY_TOKEN: ${{ secrets.coverity_auth_token }}
COVERITY_EMAIL: ${{ secrets.coverity_email }}

coverity-dnsdist:
name: coverity scan of dnsdist
if: ${{ github.event.inputs.product == 'dnsdist' }}
uses: PowerDNS/pdns/.github/workflows/coverity.yml@master
with:
product: ${{ github.event.inputs.product }}
secrets:
COVERITY_TOKEN: ${{ secrets.coverity_dnsdist_token }}
COVERITY_EMAIL: ${{ secrets.coverity_email }}

coverity-rec:
name: coverity scan of the rec
if: ${{ github.event.inputs.product == 'recursor' }}
uses: PowerDNS/pdns/.github/workflows/coverity.yml@master
with:
product: ${{ github.event.inputs.product }}
secrets:
COVERITY_TOKEN: ${{ secrets.coverity_rec_token }}
COVERITY_EMAIL: ${{ secrets.coverity_email }}
12 changes: 6 additions & 6 deletions .github/workflows/misc-dailies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
with:
product: 'authoritative'
secrets:
COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}
COVERITY_EMAIL: ${{ secrets.COVERITY_EMAIL }}
COVERITY_TOKEN: ${{ secrets.coverity_auth_token }}
COVERITY_EMAIL: ${{ secrets.coverity_email }}

coverity-dnsdist:
name: coverity scan of dnsdist
Expand All @@ -56,8 +56,8 @@ jobs:
with:
product: 'dnsdist'
secrets:
COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}
COVERITY_EMAIL: ${{ secrets.COVERITY_EMAIL }}
COVERITY_TOKEN: ${{ secrets.coverity_dnsdist_token }}
COVERITY_EMAIL: ${{ secrets.coverity_email }}

coverity-rec:
name: coverity scan of the rec
Expand All @@ -66,5 +66,5 @@ jobs:
with:
product: 'recursor'
secrets:
COVERITY_TOKEN: ${{ secrets.COVERITY_TOKEN }}
COVERITY_EMAIL: ${{ secrets.COVERITY_EMAIL }}
COVERITY_TOKEN: ${{ secrets.coverity_rec_token }}
COVERITY_EMAIL: ${{ secrets.coverity_email }}

0 comments on commit c3a4c1a

Please sign in to comment.