Skip to content

Commit

Permalink
PRODSEC-3611 fix GHA parsing and pre-commit-config version (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jfan authored Oct 19, 2023
1 parent 5201533 commit 055dfca
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
repos:
- repo: [email protected]:snowflakedb/casec_precommit.git
rev: v1.3
rev: v1.29
hooks:
- id: secret-scanner

0 comments on commit 055dfca

Please sign in to comment.