diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 777d812d..069b1cdf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,22 +1,32 @@ -name: "Code Scanning - Action" +name: "CodeQL" on: push: + branches: + - master + - devel + - "!dependabot/**" + pull_request: + # The branches below must be a subset of the branches above + branches: + - master + - devel schedule: - cron: "0 0 * * 0" jobs: - CodeQL-Build: + analyze: + name: Analyze 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 + languages: "javascript" - name: Autobuild uses: github/codeql-action/autobuild@v1