Skip to content

Commit 2d4c8ec

Browse files
committed
CodeQL on PRs
1 parent 9f2ea50 commit 2d4c8ec

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/codeql-daily.yml .github/workflows/codeql.yml

+15-12
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
name: CodeQL
22

33
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- release/*
8+
- v0.*
9+
- v1.*
10+
- cloudfoundry
11+
- gh-pages
412
push:
513
branches:
614
- main
7-
workflow_dispatch:
15+
- release/*
16+
- v0.*
17+
- v1.*
18+
- cloudfoundry
19+
- gh-pages
20+
schedule:
21+
- cron: "29 13 * * 2" # weekly at 13:29 UTC on Tuesday
822

923
permissions:
1024
contents: read
@@ -46,14 +60,3 @@ jobs:
4660

4761
- name: Perform CodeQL analysis
4862
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8
49-
50-
workflow-notification:
51-
permissions:
52-
contents: read
53-
issues: write
54-
needs:
55-
- analyze
56-
if: always()
57-
uses: ./.github/workflows/reusable-workflow-notification.yml
58-
with:
59-
success: ${{ needs.analyze.result == 'success' }}

0 commit comments

Comments
 (0)