diff options
author | XhmikosR <xhmikosr@gmail.com> | 2021-02-07 22:46:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 22:46:58 +0300 |
commit | ca6a500610d07a26c880df949541ab13425fd004 (patch) | |
tree | 3f407c1de6618b81c478b64323f95223ddc222d6 | |
parent | 25dc626c3bcb63fee5aec33d473c0bde117c9062 (diff) |
Add CodeQL action (#732)
-rw-r--r-- | .github/workflows/codeql.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 000000000..d9512b9bc --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,34 @@ +name: "CodeQL" + +on: + push: + branches: + - main + - "!dependabot/**" + pull_request: + # The branches below must be a subset of the branches above + branches: + - main + schedule: + - cron: "0 0 * * 0" + +jobs: + 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" + + - name: Autobuild + uses: github/codeql-action/autobuild@v1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 |