codeql.yml 754 B

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