Skip to content

Commit

Permalink
ci(github-actions): specify pull request to sonarcloud (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeshuaro committed Jan 4, 2024
1 parent 705edaf commit 332ef33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request_target:
workflow_dispatch:
schedule:
- cron: '0 0 * * SUN'
- cron: "0 0 * * SUN"

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
Expand Down Expand Up @@ -35,6 +35,8 @@ jobs:
- name: SonarCloud Scan ☁️
uses: sonarsource/sonarcloud-github-action@v2.1.1
with:
args: -Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down

0 comments on commit 332ef33

Please sign in to comment.