From 46f1beb2be35a316253b977bd5ea670474bbd3b0 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Wed, 26 Feb 2025 12:46:29 -0800 Subject: [PATCH] feat: include pr info? --- .gitea/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 054ed06..d1d29ea 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -37,9 +37,10 @@ jobs: env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: "https://quality.nhcarrigan.com" - REF: ${{ gitea.ref }} with: args: > -Dsonar.sources=. -Dsonar.projectKey=typescript-config - -Dsonar.branch.name=$REF + -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} + -Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }} + -Dsonar.pullrequest.base=main