Skip to content

Commit 288a282

Browse files
authored
Changed pull_request_target to pull_request (#795)
2 parents 58c9e62 + afa963f commit 288a282

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

.github/workflows/semgrep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: semgrep
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
merge_group:
66

77
push:

.github/workflows/snyk.yml

Lines changed: 1 addition & 10 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,7 @@ concurrency:
2121
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
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
30-
3124
check:
32-
needs: authorize
33-
3425
name: Check for Vulnerabilities
3526
runs-on: ubuntu-latest
3627

0 commit comments

Comments
 (0)