Skip to content

Commit b694d8b

Browse files
authored
Run CodeQL only post merge (#4385)
* [DNM] Test CodeQL * Don't run codeql on pull request builds
1 parent c808daa commit b694d8b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: 'CodeQL'
33
on:
44
push:
55
branches: [main]
6-
pull_request:
7-
# The branches below must be a subset of the branches above
8-
branches: [main]
96
schedule:
107
- cron: '17 23 * * 3'
118

@@ -45,7 +42,7 @@ jobs:
4542

4643
- name: Build Java
4744
run: |
48-
./gradlew buildForCodeQL
45+
./gradlew buildForCodeQL --no-build-cache
4946
5047
- name: Perform CodeQL Analysis
5148
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # pin@v2

0 commit comments

Comments
 (0)