Skip to content

Commit

Permalink
use pull_reqeust_target event (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjames committed Sep 27, 2023
1 parent dc2fd1e commit f7bbeec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Snyk
on:
merge_group:
workflow_dispatch:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand All @@ -23,7 +23,7 @@ concurrency:
jobs:
authorize:
name: Authorize
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
environment: ${{ github.actor != 'dependabot[bot]' && github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
runs-on: ubuntu-latest
steps:
- run: true
Expand Down

0 comments on commit f7bbeec

Please sign in to comment.