Skip to content

Commit

Permalink
Revert "fix: add branch.name on pull_request events (#18)" (#19)
Browse files Browse the repository at this point in the history
This reverts commit acae0ab.
  • Loading branch information
toketas authored Oct 24, 2024
1 parent acae0ab commit b7c7f7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion security/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) || '' }}
Expand Down

0 comments on commit b7c7f7c

Please sign in to comment.