Skip to content

Commit

Permalink
Fjernet gammel sonar job, definerer SONAR_TOKEN i env for build.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Jan 29, 2024
1 parent 2944bc3 commit bf24407
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/common.workflow.frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,6 @@ jobs:
do-deploy-unstable: ${{ inputs.force-deploy-unstable || (!contains(github.event.head_commit.message, '#nodeploy') && (inputs.deploy-tag-unstable != '') && (github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, inputs.deploy-tag-unstable))) }}
artifact: ${{ inputs.image-suffix }}-${{ github.run_number}}-artifact

sonar:
needs: start
if: inputs.sonar-enabled
secrets:
NAV_TOKEN: ${{ secrets.NAV_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
uses: ./.github/workflows/common.scan.sonar.yml
with:
working-directory: ${{ inputs.working-directory }}

build:
needs: start
if: github.actor != 'dependabot[bot]'
Expand Down Expand Up @@ -137,7 +127,7 @@ jobs:
arguments: build ${{ inputs.sonar-enabled && 'jacocoTestReport sonar' || '' }} --scan
cache-read-only: false
env:
NAV_TOKEN: ${{ secrets.NAV_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: "Docker"
id: docker-build-push
if: |
Expand Down

0 comments on commit bf24407

Please sign in to comment.