Skip to content

Commit f7bbeec

Browse files
authored
use pull_reqeust_target event (#569)
1 parent dc2fd1e commit f7bbeec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/snyk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Snyk
33
on:
44
merge_group:
55
workflow_dispatch:
6-
pull_request:
6+
pull_request_target:
77
types:
88
- opened
99
- synchronize
@@ -23,7 +23,7 @@ concurrency:
2323
jobs:
2424
authorize:
2525
name: Authorize
26-
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
26+
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
2727
runs-on: ubuntu-latest
2828
steps:
2929
- run: true

0 commit comments

Comments
 (0)