From b7c7f7c3d5caaa89696ef4b97b824819a40956c1 Mon Sep 17 00:00:00 2001 From: Eduardo Nishizuka Date: Thu, 24 Oct 2024 15:39:50 -0300 Subject: [PATCH] Revert "fix: add branch.name on pull_request events (#18)" (#19) This reverts commit acae0abe2f804a62bc0cfc0a9e272394c71265fd. --- security/action.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/security/action.yml b/security/action.yml index 3e2102c..e85f65b 100644 --- a/security/action.yml +++ b/security/action.yml @@ -56,7 +56,6 @@ runs: -Dsonar.scm.provider=git -Dsonar.sourceEncoding=utf-8 ${{ github.event_name == 'push' && format('-Dsonar.branch.name={0}', github.ref_name) || '' }} - ${{ github.event_name == 'pull_request' && format('-Dsonar.branch.name={0}', github.head_ref) || '' }} ${{ github.event_name == 'pull_request' && format('-Dsonar.scm.revision={0}', github.event.pull_request.head.sha) || '' }} ${{ github.event_name == 'pull_request' && '-Dsonar.pullrequest.provider=github' || '' }} ${{ github.event_name == 'pull_request' && format('-Dsonar.pullrequest.github.repository={0}', github.repository) || '' }}