codeql-analysis.yml 711 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: "CodeQL"
  2. on:
  3. push:
  4. branches: [ master ]
  5. pull_request:
  6. # The branches below must be a subset of the branches above
  7. branches: [ master ]
  8. schedule:
  9. - cron: '24 8 * * 6'
  10. jobs:
  11. analyze:
  12. name: Analyze
  13. runs-on: ubuntu-latest
  14. permissions:
  15. actions: read
  16. contents: read
  17. security-events: write
  18. strategy:
  19. fail-fast: false
  20. matrix:
  21. language: [ 'python' ]
  22. steps:
  23. - name: Checkout repository
  24. uses: actions/checkout@v2
  25. - name: Initialize CodeQL
  26. uses: github/codeql-action/init@v1
  27. with:
  28. languages: ${{ matrix.language }}
  29. - name: Perform CodeQL Analysis
  30. uses: github/codeql-action/analyze@v1