From 64d24c744abd23e2a9764856be5d387dfa845756 Mon Sep 17 00:00:00 2001 From: Shati Patel <42641846+shati-patel@users.noreply.github.com> Date: Fri, 28 May 2021 18:03:13 +0100 Subject: [PATCH] QL: Remove codeql-action placeholder file (Didn't get code scanning set up, so this file doesn't do anything useful) --- .github/workflows/codeql-analysis.yml | 63 --------------------------- 1 file changed, 63 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index 1d8b03e4021..00000000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: "CodeQL action" - -on: - push: - branches: [main] - pull_request: - branches: [main] - schedule: - - cron: "15 0 * * 2" - workflow_dispatch: - -jobs: - prepare: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Fetch CodeQL - run: | - LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1) - gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST" - unzip -q codeql-linux64.zip - env: - GITHUB_TOKEN: ${{ github.token }} - - - uses: actions/cache@v2 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('**/Cargo.lock') }} - - - name: Build Extractor - run: env "PATH=$PATH:${{ github.workspace }}/codeql" ./create-extractor-pack.sh -# TODO - -# analyze: -# name: Analyze -# runs-on: ubuntu-latest -# permissions: -# actions: read -# contents: read -# security-events: write -# -# strategy: -# fail-fast: false -# matrix: -# language: ["ql"] -# -# steps: -# - name: Initialize CodeQL -# uses: github/codeql-action/init@v1 -# with: -# languages: ${{ matrix.language }} -# tools: extractor-pack -# -# - name: Autobuild -# uses: github/codeql-action/autobuild@v1 -# -# - name: Perform CodeQL Analysis -# uses: github/codeql-action/analyze@v1