File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 77 - ' bruno/**'
88 - ' .github/workflows/on-pullrequest-codeql-analysis.yml'
99 - ' .github/workflows/on-pullrequest-bidi-scan.yml'
10-
10+
1111 push :
1212 branches : [ main ]
13-
13+
1414permissions : read-all
1515
1616
@@ -25,18 +25,23 @@ jobs:
2525 dependency-review :
2626 name : Dependency Review ("Dependabot on PR")
2727 runs-on : ubuntu-latest
28+ if : github.event_name == 'pull_request'
2829 permissions :
2930 contents : read
3031 steps :
3132 - name : Checkout
3233 uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
33-
34+
3435 - name : Dependencies Review
3536 uses : actions/dependency-review-action@9129d7d40b8c12c1ed0f60400d00c92d437adcce # v4.1.3
3637
3738 analyze :
3839 name : CodeQL Analysis
3940 runs-on : ubuntu-latest
41+ permissions :
42+ actions : read
43+ contents : read
44+ security-events : write
4045 steps :
4146 - name : Checkout
4247 uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ const bruFiles = walk(ROOT).filter(f => {
175175 const normalizedPath = f . replace ( / \\ / g, '/' ) ;
176176 return / ( ^ | \/ ) ( S I S | S a m p l e D a t a | A s s e s s m e n t ) ( \/ | $ ) / . test ( normalizedPath ) ;
177177} ) ;
178+
178179bruFiles . forEach ( lintFile ) ;
179180
180181SUMMARY . problems = problems . length ;
You can’t perform that action at this time.
0 commit comments