Skip to content

Commit

Permalink
Use pull_request_target for CodeQL workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Nov 13, 2024
1 parent 4cd236b commit eb208f5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ name: "CodeQL"
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
pull_request_target:
schedule:
- cron: "32 3 * * 0"

Expand Down Expand Up @@ -49,7 +45,7 @@ jobs:
queries: +security-and-quality

- name: Build with Maven
run: mvn -V --color always -ntp clean verify --file pom.xml -Pskip
run: mvn -V --color always -ntp clean verify -Pskip

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down

0 comments on commit eb208f5

Please sign in to comment.