From 6b3339ab4be1a2a2307084a9e661fa5fb4c48fef Mon Sep 17 00:00:00 2001 From: Jason Liu Date: Wed, 1 Nov 2023 13:49:28 +0800 Subject: [PATCH] ci: disable codeql in github action workflow (#1731) Signed-off-by: Jason Liu --- .github/workflows/codeql.yml | 46 ------------------------------------ 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 968275e73..000000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: "CodeQL" - -on: - push: - branches: ["main"] - pull_request: - branches: ["main"] - paths-ignore: - - '**/*.md' - - 'apis/**' - - 'pkg/client/**' - schedule: - - cron: '30 16 * * 0' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - strategy: - fail-fast: false - matrix: - language: ['go'] - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Setup local cache - uses: actions/cache@v3 - with: - path: | - ~/.cache/go-build - ~/go/pkg/mod - key: ${{ runner.os }}-codeql-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-codeql- - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2