Skip to content

Commit b915cb6

Browse files
committed
removed pull_request_target
1 parent 41d93af commit b915cb6

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/snyk.yml

Lines changed: 1 addition & 9 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_target:
6+
pull_request:
77
types:
88
- opened
99
- synchronize
@@ -21,16 +21,8 @@ concurrency:
2121
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
2222

2323
jobs:
24-
authorize:
25-
name: Authorize
26-
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
27-
runs-on: ubuntu-latest
28-
steps:
29-
- run: true
3024

3125
check:
32-
needs: authorize
33-
3426
name: Check for Vulnerabilities
3527
runs-on: ubuntu-latest
3628

0 commit comments

Comments
 (0)