Skip to content

Commit

Permalink
Add to test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielnedersantos committed Dec 19, 2024
1 parent f02241e commit c28d546
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/check_sonar_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ on:
workflow_dispatch:

env:
GH_TOKEN: ${{ secrets.GIT_TOKEN_SECRET }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
PR_NUMBER: ${{ github.event.number }}
BRANCH_ORIGIN: ${{ github.head_ref }}
BASE_BRANCH: ${{ github.base_ref }}
SONAR_HOST_URL: "https://sonarqube.trustly.one"
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_SECRET }}
SONAR_HOST_URL: "https://sonarqube.trustly.one"
SONAR_PROJECT_KEY: "trustly-ios"
SONAR_PROJECT_NAME: "trustly-ios"

Expand Down Expand Up @@ -61,7 +58,7 @@ jobs:
run: |
# Create sonar-project.properties or update it dynamically
echo "sonar.host.url=${{ env.SONAR_HOST_URL }}" >> sonar-project.properties
echo "sonar.projectKey=${{ env.SONAR_PROJECT_KEY }}}" >> sonar-project.properties
echo "sonar.projectKey=${{ env.SONAR_PROJECT_KEY }}" >> sonar-project.properties
echo "sonar.projectName=${{ env.SONAR_PROJECT_NAME }}" >> sonar-project.properties
echo "sonar.login=${{ secrets.SONAR_TOKEN_SECRET }}" >> sonar-project.properties
echo "sonar.pullrequest.key=${{ github.event.number }}" >> sonar-project.properties
Expand Down

0 comments on commit c28d546

Please sign in to comment.