From 50607f89ebbcde638255b979cc41bded264f5d8e Mon Sep 17 00:00:00 2001 From: Harsh Pathak Date: Mon, 25 Aug 2025 16:23:36 -0700 Subject: [PATCH 1/2] Delete .github/workflows/snyk-issue.yml --- .github/workflows/snyk-issue.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/snyk-issue.yml diff --git a/.github/workflows/snyk-issue.yml b/.github/workflows/snyk-issue.yml deleted file mode 100644 index bf69e09c..00000000 --- a/.github/workflows/snyk-issue.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Snyk Issue - -on: - schedule: - - cron: '0 */12 * * *' - -concurrency: snyk-issue - -jobs: - whitesource: - runs-on: ubuntu-latest - steps: - - name: checkout action - uses: actions/checkout@v3 - with: - repository: snowflakedb/whitesource-actions - token: ${{ secrets.WHITESOURCE_ACTION_TOKEN }} - path: whitesource-actions - - name: set-env - run: echo "REPO=$(basename $GITHUB_REPOSITORY)" >> $GITHUB_ENV - - name: Jira Creation - uses: ./whitesource-actions/snyk-issue - with: - snyk_org: ${{ secrets.SNYK_ORG_ID }} - snyk_token: ${{ secrets.SNYK_GITHUB_INTEGRATION_TOKEN }} - jira_token: ${{ secrets.JIRA_TOKEN }} - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 8f16ef100ca90cbe59277cdba93b8a009d03e4e6 Mon Sep 17 00:00:00 2001 From: Harsh Pathak Date: Mon, 25 Aug 2025 16:23:38 -0700 Subject: [PATCH 2/2] Delete .github/workflows/snyk-pr.yml --- .github/workflows/snyk-pr.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 .github/workflows/snyk-pr.yml diff --git a/.github/workflows/snyk-pr.yml b/.github/workflows/snyk-pr.yml deleted file mode 100644 index bd0ed53f..00000000 --- a/.github/workflows/snyk-pr.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: snyk-pr -on: - pull_request: - branches: - - main -jobs: - whitesource: - runs-on: ubuntu-latest - if: ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }} - steps: - - name: checkout - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.ref }} - fetch-depth: 0 - - - name: checkout action - uses: actions/checkout@v3 - with: - repository: snowflakedb/whitesource-actions - token: ${{ secrets.WHITESOURCE_ACTION_TOKEN }} - path: whitesource-actions - - - name: PR - uses: ./whitesource-actions/snyk-pr - env: - PR_TITLE: ${{ github.event.pull_request.title }} - with: - jira_token: ${{ secrets.JIRA_TOKEN }} - gh_token: ${{ secrets.GITHUB_TOKEN }} - amend: false # true if you want the commit to be amended with the JIRA number