2
0

codeql-analysis.yml 688 B

12345678910111213141516171819202122232425262728
  1. name: "CodeQL"
  2. on:
  3. schedule:
  4. - cron: '0 8 * * 3'
  5. jobs:
  6. analyze:
  7. name: Analyze
  8. runs-on: ubuntu-latest
  9. strategy:
  10. fail-fast: false
  11. matrix:
  12. # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
  13. language: [ 'javascript', 'python' ]
  14. steps:
  15. - name: Checkout repository
  16. uses: actions/checkout@v2
  17. - name: Initialize CodeQL
  18. uses: github/codeql-action/init@v1
  19. with:
  20. languages: ${{ matrix.language }}
  21. - name: Perform CodeQL Analysis
  22. uses: github/codeql-action/analyze@v1