Skip to content

Commit 2a04564

Browse files
authored
.sync/codeql: Use pull_request trigger type (#173)
This workflow needs to run against code on the PR merge branch and since it is just building it only needs minimal, read-only token permissions so this change updates the trigger type from `pull_request_target` to `pull_request`. Signed-off-by: Michael Kubacki <[email protected]>
1 parent 936632e commit 2a04564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.sync/workflows/leaf/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
branches:
2727
- main
2828
- release/*
29-
pull_request_target:
29+
pull_request:
3030
branches:
3131
- main
3232
- release/*

0 commit comments

Comments
 (0)