forked from snowflakedb/snowflake-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 7
34 lines (30 loc) · 884 Bytes
/
snyk-issue.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Snyk Issue
on:
schedule:
- cron: '* */12 * * *'
permissions:
contents: read
issues: write
pull-requests: write
concurrency: snyk-issue
jobs:
snyk:
runs-on: ubuntu-latest
steps:
- name: Checkout Action
uses: actions/checkout@v4
with:
persist-credentials: false
repository: snowflakedb/whitesource-actions
token: ${{ secrets.whitesource_action_token }}
path: whitesource-actions
- name: Set Env
run: echo "repo=${{ github.event.repository.name }}" >> $GITHUB_ENV
- name: Jira Creation
uses: ./whitesource-actions/snyk-issue
with:
snyk_org: ${{ secrets.snyk_org_id_public_repo }}
snyk_token: ${{ secrets.snyk_github_integration_token_public_repo }}
jira_token: ${{ secrets.jira_token_public_repo }}
env:
gh_token: ${{ secrets.github_token }}