Skip to content

Commit e574588

Browse files
committed
fix: fixing codeql error messages
dependency: none
1 parent 4737def commit e574588

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
pull_request:
1818
branches: [ "master" ]
1919
schedule:
20-
- cron: '39 19 * * 4'
20+
- cron: '16 13 * * 4'
2121

2222
jobs:
2323
analyze:
@@ -28,7 +28,6 @@ jobs:
2828
# - https://gh.io/using-larger-runners (GitHub.com only)
2929
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
3030
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
31-
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
3231
permissions:
3332
# required for all workflows
3433
security-events: write
@@ -44,9 +43,11 @@ jobs:
4443
fail-fast: false
4544
matrix:
4645
include:
46+
- language: actions
47+
build-mode: none
4748
- language: python
4849
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'
5051
# Use `c-cpp` to analyze code written in C, C++ or both
5152
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
5253
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
@@ -58,6 +59,12 @@ jobs:
5859
- name: Checkout repository
5960
uses: actions/checkout@v4
6061

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+
6168
# Initializes the CodeQL tools for scanning.
6269
- name: Initialize CodeQL
6370
uses: github/codeql-action/init@v3
@@ -78,6 +85,7 @@ jobs:
7885
# ℹ️ Command-line programs to run using the OS shell.
7986
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
8087
- if: matrix.build-mode == 'manual'
88+
shell: bash
8189
run: |
8290
echo 'If you are using a "manual" build mode for one or more of the' \
8391
'languages you are analyzing, replace this with the commands to build' \

0 commit comments

Comments
 (0)