Skip to content

Commit 169e917

Browse files
authored
Changed pull_request_target to pull_request (#916)
2 parents cc7e58f + 3e09ef1 commit 169e917

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/semgrep.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Semgrep
22

33
on:
44
merge_group:
5-
pull_request_target:
5+
pull_request:
66
types:
77
- opened
88
- synchronize
@@ -20,16 +20,7 @@ concurrency:
2020
cancel-in-progress: ${{ github.ref != 'refs/heads/5.x' }}
2121

2222
jobs:
23-
authorize:
24-
name: Authorize
25-
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
26-
runs-on: ubuntu-latest
27-
steps:
28-
- run: true
29-
3023
check:
31-
needs: authorize
32-
3324
name: Check for Vulnerabilities
3425
runs-on: ubuntu-latest
3526

0 commit comments

Comments
 (0)