您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

43 行
1.3 KiB

4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
4 年前
  1. name: 'Code Scanning - Action'
  2. on:
  3. push:
  4. schedule:
  5. - cron: '0 0 * * 0'
  6. jobs:
  7. CodeQL-Build:
  8. strategy:
  9. fail-fast: false
  10. # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout repository
  14. uses: actions/checkout@v2
  15. # Initializes the CodeQL tools for scanning.
  16. - name: Initialize CodeQL
  17. uses: github/codeql-action/init@v1
  18. with:
  19. languages: javascript
  20. # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
  21. # If this step fails, then you should remove it and run the build manually (see below).
  22. - name: Autobuild
  23. uses: github/codeql-action/autobuild@v1
  24. # ℹ️ Command-line programs to run using the OS shell.
  25. # 📚 https://git.io/JvXDl
  26. # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
  27. # and modify them (or add more) to build your code if your project
  28. # uses a compiled language
  29. #- run: |
  30. # make bootstrap
  31. # make release
  32. - name: Perform CodeQL Analysis
  33. uses: github/codeql-action/analyze@v1