Skip to content

Commit

Permalink
Merge pull request #80 from snowflakedb/PRODSEC-3611
Browse files Browse the repository at this point in the history
PRODSEC-3611 fix GHA parsing
  • Loading branch information
sfc-gh-xhuang authored Oct 31, 2023
2 parents 556845d + db8cfde commit e7e5043
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/snyk-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ on:
schedule:
- cron: '* */12 * * *'

permissions:
contents: read
issues: write
pull-requests: write

concurrency: snyk-issue

jobs:
whitesource:
snyk:
runs-on: ubuntu-latest
steps:
- name: checkout action
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/snyk-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ on:
pull_request:
branches:
- master

permissions:
contents: read
issues: write
pull-requests: write

jobs:
whitesource:
snyk:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }}
steps:
Expand Down

0 comments on commit e7e5043

Please sign in to comment.