|
17 | 17 | pull_request: |
18 | 18 | branches: [ "master" ] |
19 | 19 | schedule: |
20 | | - - cron: '39 19 * * 4' |
| 20 | + - cron: '16 13 * * 4' |
21 | 21 |
|
22 | 22 | jobs: |
23 | 23 | analyze: |
|
28 | 28 | # - https://gh.io/using-larger-runners (GitHub.com only) |
29 | 29 | # Consider using larger runners or machines with greater resources for possible analysis time improvements. |
30 | 30 | runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} |
31 | | - timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} |
32 | 31 | permissions: |
33 | 32 | # required for all workflows |
34 | 33 | security-events: write |
|
44 | 43 | fail-fast: false |
45 | 44 | matrix: |
46 | 45 | include: |
| 46 | + - language: actions |
| 47 | + build-mode: none |
47 | 48 | - language: python |
48 | 49 | build-mode: none |
49 | | - # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' |
| 50 | + # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' |
50 | 51 | # Use `c-cpp` to analyze code written in C, C++ or both |
51 | 52 | # Use 'java-kotlin' to analyze code written in Java, Kotlin or both |
52 | 53 | # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both |
|
58 | 59 | - name: Checkout repository |
59 | 60 | uses: actions/checkout@v4 |
60 | 61 |
|
| 62 | + # Add any setup steps before running the `github/codeql-action/init` action. |
| 63 | + # This includes steps like installing compilers or runtimes (`actions/setup-node` |
| 64 | + # or others). This is typically only required for manual builds. |
| 65 | + # - name: Setup runtime (example) |
| 66 | + # uses: actions/setup-example@v1 |
| 67 | + |
61 | 68 | # Initializes the CodeQL tools for scanning. |
62 | 69 | - name: Initialize CodeQL |
63 | 70 | uses: github/codeql-action/init@v3 |
|
78 | 85 | # ℹ️ Command-line programs to run using the OS shell. |
79 | 86 | # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun |
80 | 87 | - if: matrix.build-mode == 'manual' |
| 88 | + shell: bash |
81 | 89 | run: | |
82 | 90 | echo 'If you are using a "manual" build mode for one or more of the' \ |
83 | 91 | 'languages you are analyzing, replace this with the commands to build' \ |
|
0 commit comments