Skip to content

Commit 1e9dc0a

Browse files
authored
Skip Sonar for dependabot PRs
1 parent 19b0f5f commit 1e9dc0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ jobs:
4545
run: pnpm run audit
4646

4747
- name: Sonar scan
48+
if: github.actor != 'dependabot[bot]'
4849
uses: SonarSource/sonarqube-scan-action@v6
4950
env:
5051
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
5152

5253
- name: Upload demo build output as pages artifact
54+
if: github.actor != 'dependabot[bot]'
5355
id: deployment
5456
uses: actions/upload-pages-artifact@v3
5557
with:

0 commit comments

Comments
 (0)