codeql.yml 776 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: "CodeQL"
  2. on:
  3. push:
  4. branches:
  5. - master
  6. - v4-dev
  7. - "!dependabot/**"
  8. pull_request:
  9. # The branches below must be a subset of the branches above
  10. branches:
  11. - master
  12. schedule:
  13. - cron: "0 0 * * 0"
  14. jobs:
  15. analyze:
  16. name: Analyze
  17. runs-on: ubuntu-latest
  18. steps:
  19. - name: Checkout repository
  20. uses: actions/checkout@v2
  21. # Initializes the CodeQL tools for scanning.
  22. - name: Initialize CodeQL
  23. uses: github/codeql-action/init@v1
  24. with:
  25. languages: "javascript"
  26. config-file: ./.github/codeql/codeql-config.yml
  27. - name: Autobuild
  28. uses: github/codeql-action/autobuild@v1
  29. - name: Perform CodeQL Analysis
  30. uses: github/codeql-action/analyze@v1