From c15792ca6b1b57731c297d42541eda64baad2111 Mon Sep 17 00:00:00 2001 From: Harsh Pathak Date: Mon, 25 Aug 2025 16:15:03 -0700 Subject: [PATCH 1/2] Delete .github/workflows/snyk-issue.yml --- .github/workflows/snyk-issue.yml | 34 -------------------------------- 1 file changed, 34 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 2a3f6226a..000000000 --- a/.github/workflows/snyk-issue.yml +++ /dev/null @@ -1,34 +0,0 @@ -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@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_PUBLIC_REPO }} - snyk_token: ${{ secrets.SNYK_GITHUB_INTEGRATION_TOKEN_PUBLIC_REPO }} - jira_token: ${{ secrets.JIRA_TOKEN_PUBLIC_REPO }} - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - From 0ca08db2535b4280c0427888731112cf1bc8a4cd Mon Sep 17 00:00:00 2001 From: Harsh Pathak Date: Mon, 25 Aug 2025 16:15:05 -0700 Subject: [PATCH 2/2] Delete .github/workflows/snyk-pr.yml --- .github/workflows/snyk-pr.yml | 37 ----------------------------------- 1 file changed, 37 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 4cb65c098..000000000 --- a/.github/workflows/snyk-pr.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Snyk PR -on: - pull_request: - branches: - - master - -permissions: - contents: read - issues: write - pull-requests: write - -jobs: - snyk: - 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: nyk Pull Request Scan Check - uses: ./whitesource-actions/snyk-pr - env: - PR_TITLE: ${{ github.event.pull_request.title }} - with: - jira_token: ${{ secrets.JIRA_TOKEN_PUBLIC_REPO }} - gh_token: ${{ secrets.GITHUB_TOKEN }} - amend: false \ No newline at end of file