From c9ecc0c63ca4d6ea79c6ec55f753f933c1c4202f Mon Sep 17 00:00:00 2001 From: Vedant Pandya Date: Sun, 9 Oct 2022 03:47:11 +0530 Subject: [PATCH] Create codeql-analysis.yml (#1096) * Create codeql-analysis.yml * Update .github/workflows/codeql-analysis.yml Co-authored-by: Helio Machado <0x2b3bfa0+git@googlemail.com> Co-authored-by: Daniel Barnes --- .github/workflows/codeql-analysis.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 000000000..a5cbd1b2e --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,29 @@ +name: CodeQL + +on: + pull_request: + paths-ignore: + - '**.md' + - assets/** + schedule: + - cron: '0 0 * * *' # everyday @ 0000 UTC + +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + steps: + - uses: actions/checkout@v3 + - uses: github/codeql-action/init@v2 + with: + languages: javascript + - uses: github/codeql-action/autobuild@v2 + - uses: github/codeql-action/analyze@v2