Skip to content

Commit

Permalink
chore: changed condition for security job on Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lquixada committed Apr 23, 2022
1 parent f845cac commit ec8f095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
runs-on: ubuntu-latest
# The security job can't run on pull requests opened from forks because
# Github doesn't pass down the SNYK_TOKEN environment variable.
if: github.event_name != 'pull_request'
if: ${{ env.GITHUB_EVENT_NAME != 'pull_request' && env.GITHUB_EVENT_NAME != 'pull_request_target' }}
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
Expand Down

0 comments on commit ec8f095

Please sign in to comment.