Skip to content

Commit 89e562b

Browse files
authored
Fix Dependabot exclusion in SonarCloud pipeline. (#401)
1 parent 8f49b7f commit 89e562b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
sonarcloud:
1212
name: SonarCloud
13-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependency') }}
13+
if: github.actor != 'dependabot[bot]'
1414
runs-on: ubuntu-latest
1515

1616
steps:
@@ -95,7 +95,7 @@ jobs:
9595
while IFS= read -r line; do
9696
echo "##[error]Test Failures: $line"
9797
done < failed_tests.txt
98-
98+
9999
exit 1
100100
else
101101
echo "All tests passed."

0 commit comments

Comments
 (0)