Skip to content

Commit

Permalink
Add sonar-api-token as workflow secret
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Jan 21, 2025
1 parent e2eadd8 commit faa9073
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/commit_trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ jobs:
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
KOSLI_SONAR_API_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}

4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
required: true
KOSLI_API_TOKEN:
required: true
KOSLI_SONAR_API_TOKEN:
required: true


env:
CYBER_DOJO_DASHBOARD_BASE_IMAGE: ${{ inputs.BASE_IMAGE }}
Expand All @@ -29,7 +32,6 @@ env:
KOSLI_ORG: ${{ vars.KOSLI_ORG }} # cyber-dojo
KOSLI_FLOW: ${{ vars.KOSLI_FLOW }} # dashboard-ci
KOSLI_TRAIL: ${{ inputs.KOSLI_TRAIL }}
KOSLI_SONAR_API_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
AWS_ACCOUNT_ID: ${{ vars.AWS_ACCOUNT_ID }}
AWS_ECR_ID: ${{ vars.AWS_ECR_ID }}
AWS_REGION: ${{ vars.AWS_REGION }}
Expand Down

0 comments on commit faa9073

Please sign in to comment.