codeql-analysis.yml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # # For most projects, this workflow file will not need changing; you simply need
  2. # # to commit it to your repository.
  3. # #
  4. # # You may wish to alter this file to override the set of languages analyzed,
  5. # # or to provide custom queries or build logic.
  6. # #
  7. # # ******** NOTE ********
  8. # # We have attempted to detect the languages in your repository. Please check
  9. # # the `language` matrix defined below to confirm you have the correct set of
  10. # # supported CodeQL languages.
  11. # #
  12. # name: "CodeQL"
  13. # on:
  14. # push:
  15. # branches: [ master, dev/*, release/current ]
  16. # paths:
  17. # - .github/workflows/codeql-analysis.yml
  18. # - packages/**
  19. # pull_request:
  20. # # The branches below must be a subset of the branches above
  21. # branches: [ master ]
  22. # paths:
  23. # - .github/workflows/codeql-analysis.yml
  24. # - packages/**
  25. # schedule:
  26. # - cron: '28 20 * * 6'
  27. # jobs:
  28. # analyze:
  29. # name: Analyze
  30. # runs-on: ubuntu-latest
  31. # strategy:
  32. # fail-fast: false
  33. # matrix:
  34. # language: [ 'javascript' ]
  35. # # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
  36. # # Learn more:
  37. # # 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
  38. # steps:
  39. # - name: Checkout repository
  40. # uses: actions/checkout@v3
  41. # # Initializes the CodeQL tools for scanning.
  42. # - name: Initialize CodeQL
  43. # uses: github/codeql-action/init@v1
  44. # with:
  45. # languages: ${{ matrix.language }}
  46. # # If you wish to specify custom queries, you can do so here or in a config file.
  47. # # By default, queries listed here will override any specified in a config file.
  48. # # Prefix the list here with "+" to use these queries and those in the config file.
  49. # # queries: ./path/to/local/query, your-org/your-repo/queries@main
  50. # # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
  51. # # If this step fails, then you should remove it and run the build manually (see below)
  52. # - name: Autobuild
  53. # uses: github/codeql-action/autobuild@v1
  54. # # ℹ️ Command-line programs to run using the OS shell.
  55. # # 📚 https://git.io/JvXDl
  56. # # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
  57. # # and modify them (or add more) to build your code if your project
  58. # # uses a compiled language
  59. # #- run: |
  60. # # make bootstrap
  61. # # make release
  62. # - name: Perform CodeQL Analysis
  63. # uses: github/codeql-action/analyze@v1