You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
574 B

  1. name: "CodeQL"
  2. on:
  3. push:
  4. branches: [ master ]
  5. pull_request:
  6. branches: [ master ]
  7. schedule:
  8. - cron: '45 0 * * 0'
  9. jobs:
  10. analyze:
  11. name: Analyze
  12. runs-on: ubuntu-latest
  13. strategy:
  14. fail-fast: false
  15. matrix:
  16. language: [ 'javascript', 'python' ]
  17. steps:
  18. - name: Checkout repository
  19. uses: actions/checkout@v2
  20. - name: Initialize CodeQL
  21. uses: github/codeql-action/init@v1
  22. with:
  23. languages: ${{ matrix.language }}
  24. - name: Perform CodeQL Analysis
  25. uses: github/codeql-action/analyze@v1