From 18f3c2ee7450f6649ce3b705210e4954ae76438b Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Sun, 18 Oct 2020 11:34:21 +0200 Subject: [PATCH] Add CodeQL analysis --- .github/workflows/analysis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/analysis.yml diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml new file mode 100644 index 00000000..b24b65e9 --- /dev/null +++ b/.github/workflows/analysis.yml @@ -0,0 +1,22 @@ +name: Analysis + +on: + push: + branches: [master] + pull_request: + branches: [master] + schedule: + - cron: 0 0 * * * + +jobs: + analyze: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup + uses: github/codeql-action/init@v1 + with: + languages: javascript + - name: Analyze + uses: github/codeql-action/analyze@v1