There was an error while loading. Please reload this page.
1 parent 56d23c8 commit 09a06f1Copy full SHA for 09a06f1
1 file changed
.github/workflows/coverity.yml
@@ -9,8 +9,20 @@ on:
9
workflow_dispatch:
10
11
jobs:
12
+ check-secret:
13
+ runs-on: ubuntu-latest
14
+ outputs:
15
+ token: ${{ steps.token.outputs.defined }}
16
+ steps:
17
+ - id: token
18
+ env:
19
+ TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
20
+ if: "${{ env.TOKEN != '' }}"
21
+ run: echo "::set-output name=defined::true"
22
+
23
coverity:
- if: ${{ secrets.COVERITY_SCAN_TOKEN != '' }}
24
+ needs: [check-secret]
25
+ if: needs.check-secret.outputs.token == 'true'
26
runs-on: ubuntu-latest
27
environment: Coverity
28
steps:
0 commit comments