File tree Expand file tree Collapse file tree 4 files changed +61
-207
lines changed Expand file tree Collapse file tree 4 files changed +61
-207
lines changed Original file line number Diff line number Diff line change 19
19
path-to-signatures : ' signatures/version1.json'
20
20
path-to-document : ' https://github.com/Snowflake-Labs/CLA/blob/main/README.md'
21
21
branch : ' main'
22
- allowlist : ' dependabot[bot],github-actions'
22
+ allowlist : ' dependabot[bot],github-actions, sfc-gh-snyk-sca-sa '
23
23
remote-organization-name : ' snowflakedb'
24
24
remote-repository-name : ' cla-db'
Original file line number Diff line number Diff line change
1
+ name : Snyk Issue
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' * */12 * * *'
6
+
7
+ concurrency : snyk-issue
8
+
9
+ jobs :
10
+ snyk :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout Action
14
+ uses : actions/checkout@v3
15
+ with :
16
+ repository : snowflakedb/whitesource-actions
17
+ token : ${{ secrets.whitesource_action_token }}
18
+ path : whitesource-actions
19
+ - name : Set Env
20
+ run : echo "repo=$(basename $github_repository)" >> $github_env
21
+ - name : Jira Creation
22
+ uses : ./whitesource-actions/snyk-issue
23
+ with :
24
+ snyk_org : ${{ secrets.snyk_org_id_public_repo }}
25
+ snyk_token : ${{ secrets.snyk_github_integration_token_public_repo }}
26
+ jira_token : ${{ secrets.jira_token_public_repo }}
27
+ env :
28
+ gh_token : ${{ secrets.github_token }}
29
+
Original file line number Diff line number Diff line change
1
+ name : Snyk PR
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ snyk :
8
+ runs-on : ubuntu-latest
9
+ if : ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }}
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v3
13
+ with :
14
+ ref : ${{ github.event.pull_request.head.ref }}
15
+ fetch-depth : 0
16
+
17
+ - name : Checkout Action
18
+ uses : actions/checkout@v3
19
+ with :
20
+ repository : snowflakedb/whitesource-actions
21
+ token : ${{ secrets.whitesource_action_token }}
22
+ path : whitesource-actions
23
+
24
+ - name : Snyk Pull Request Scan Check
25
+ uses : ./whitesource-actions/snyk-pr
26
+ env :
27
+ pr_title : ${{ github.event.pull_request.title }}
28
+ with :
29
+ jira_token : ${{ secrets.jira_token_public_repo }}
30
+ gh_token : ${{ secrets.github_token }}
31
+ amend : false
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments