Skip to content

Commit 4fad983

Browse files
committed
Use pull_request_target for CodeQL workflow.
1 parent 0e814df commit 4fad983

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@ name: "CodeQL"
33
on:
44
push:
55
branches:
6-
- master
7-
- main
8-
pull_request:
9-
branches:
10-
- master
116
- main
7+
pull_request_target:
128
schedule:
139
- cron: "32 3 * * 0"
1410

@@ -49,7 +45,7 @@ jobs:
4945
queries: +security-and-quality
5046

5147
- name: Build with Maven
52-
run: mvn -V --color always -ntp clean verify --file pom.xml -Pskip
48+
run: mvn -V --color always -ntp clean verify -Pskip
5349

5450
- name: Perform CodeQL Analysis
5551
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)