Skip to content

Commit

Permalink
ci: add condition
Browse files Browse the repository at this point in the history
do not run analysis for dependabot or external
  • Loading branch information
ChrisKujawa authored Mar 29, 2022
1 parent 0f5caaf commit 3dacfba
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sonar Build
name: Sonar Analysis
on:
push:
branches:
Expand All @@ -7,6 +7,7 @@ on:
types: [opened, synchronize, reopened]
jobs:
build:
if: (github.ref == 'refs/heads/main' || github.event.pull_request.head.repo.full_name == github.repository) && github.actor!= 'dependabot'
name: Build
runs-on: windows-latest
steps:
Expand Down

0 comments on commit 3dacfba

Please sign in to comment.