From 002a9392d6f5759e06ee5f0adf9cc1f1ee1074f4 Mon Sep 17 00:00:00 2001 From: "Bo-Yi.Wu" Date: Sat, 7 Jan 2023 08:50:42 +0800 Subject: [PATCH] chore(CI): remove deepsource and snyk config Signed-off-by: Bo-Yi.Wu --- .deepsource.toml | 31 ------------------------------- .github/workflows/snyk.yml | 30 ------------------------------ 2 files changed, 61 deletions(-) delete mode 100644 .deepsource.toml delete mode 100644 .github/workflows/snyk.yml diff --git a/.deepsource.toml b/.deepsource.toml deleted file mode 100644 index 624fe30..0000000 --- a/.deepsource.toml +++ /dev/null @@ -1,31 +0,0 @@ -version = 1 - -[[analyzers]] -name = "go" -enabled = true - - [analyzers.meta] - import_paths = ["github.com/appleboy/gorush"] - -[[analyzers]] -name = "docker" -enabled = true - - [analyzers.meta] - dockerfile_paths = ["docker/**"] - -[[analyzers]] -name = "test-coverage" -enabled = true - -[[analyzers]] -name = "secrets" -enabled = true - -test_patterns = [ - "**/**_test.go", -] - -exclude_patterns = [ - "**/examples/**" -] diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml deleted file mode 100644 index dc9dbf0..0000000 --- a/.github/workflows/snyk.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: "SnyK" - -on: - push: - branches: [ master ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ master ] - schedule: - - cron: '30 1 * * 0' - -jobs: - security: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Run Snyk to check for vulnerabilities - uses: snyk/actions/golang@master - continue-on-error: true # To make sure that SARIF upload gets called - env: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - with: - args: --sarif-file-output=snyk.sarif - - - name: Upload result to GitHub Code Scanning - uses: github/codeql-action/upload-sarif@v1 - with: - sarif_file: snyk.sarif