Skip to content

Commit 09691bd

Browse files
authored
Change trigger from pull_request_target to pull_request
The security implications of using pull_request_target seem daunting so lets focus on maintainers' use case first and later consider forks later
1 parent cd9bfc3 commit 09691bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/poetry-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: poetry checks
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
branches: [ "main" ]
66

77
concurrency:
8-
group: ${{ github.workflow }}-${{ github.event.pull_request_target.number || github.ref }}
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
99
cancel-in-progress: true
1010

1111
permissions: {}

0 commit comments

Comments
 (0)