From ffc9069e331a96d0a3d0889b16f626ef6e919c95 Mon Sep 17 00:00:00 2001 From: Ron Netzer Date: Thu, 1 Jul 2021 19:12:42 +0300 Subject: [PATCH] ci: add code scanning workflow [skip ci] --- .github/workflows/code-scanning.yml | 35 +++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/code-scanning.yml diff --git a/.github/workflows/code-scanning.yml b/.github/workflows/code-scanning.yml new file mode 100644 index 00000000..b023ae05 --- /dev/null +++ b/.github/workflows/code-scanning.yml @@ -0,0 +1,35 @@ +name: Code Scanning + +on: + push: + pull_request: + schedule: + - cron: 0 0 * * 1 + +jobs: + CodeQL-Build: + + strategy: + fail-fast: false + + + # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: javascript + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1