Skip to content

Commit b6849f4

Browse files
committed
CI(github-actions): Update CodeQL workflow
(cherry picked from commit 0bd50f4)
1 parent f4a8020 commit b6849f4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/code-ql.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
77
BUILD_TYPE: Release
88
CMAKE_OPTIONS: |
9-
-Dtests=OFF -Dsymbols=ON
9+
-Dtests=OFF -Dsymbols=ON -Dwarnings-as-errors=OFF
1010
1111
jobs:
1212
pre_run:
@@ -24,10 +24,15 @@ jobs:
2424
needs: pre_run
2525
if: needs.pre_run.outputs.should_skip != 'true'
2626

27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-latest
28+
29+
permissions:
30+
security-events: write
31+
actions: read
32+
contents: read
2833

2934
steps:
30-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3136
with:
3237
submodules: 'recursive'
3338

0 commit comments

Comments
 (0)