Skip to content

Commit

Permalink
Update sonar.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeNeilson authored Dec 18, 2024
1 parent 6ade126 commit 0e76fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: SonarCloud Scan
on:
workflow_run:
workflows: ["Build and Test"]
workflows: ["CI/CD"]
type: [completed]

jobs:
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
-Dsonar.scm.revision=${{ github.event.workflow_run.head_sha }} \
-Dsonar.pullrequest.key=${{ github.event.workflow_run.pull_requests[0].number }} \
-Dsonar.pullrequest.branch=${{ github.event.workflow_run.pull_requests[0].head.ref }} \
-Dsonar.pullrequest.base=${{ github.event.workflow_run.pull_requests[0].base.ref }}
-Dsonar.pullrequest.base=${{ github.event.workflow_run.pull_requests[0].base.ref }}

0 comments on commit 0e76fd2

Please sign in to comment.