Skip to content

Commit 5c947d1

Browse files
authored
Fix sanitized head ref assignment in sonar.yaml
1 parent 3e197c5 commit 5c947d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/sonar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
echo "BRANCH '${HEAD_BRANCH}' contains potentially malicious characters as it matches BRANCH_REGEX '${BRANCH_REGEX}'"
5353
exit 1
5454
else
55-
echo "SANITIZED_HEAD_REF=${sanitized_head}" >> $GITHUB_ENV
55+
echo "SANITIZED_HEAD_REF=${HEAD_BRANCH}" >> $GITHUB_ENV
5656
fi
5757
shell: bash
5858
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)