Skip to content

Commit 115c62f

Browse files
committed
GHA/codeql: scan GHA
1 parent d7091e1 commit 115c62f

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Copyright (C) Viktor Szakats. See LICENSE.md
2+
# SPDX-License-Identifier: MIT
3+
---
4+
name: 'CodeQL'
5+
6+
'on':
7+
push:
8+
branches:
9+
- main
10+
- dev
11+
pull_request:
12+
branches:
13+
- main
14+
- dev
15+
schedule:
16+
- cron: '0 0 * * 4'
17+
18+
concurrency:
19+
group: ${{ github.workflow }}
20+
21+
permissions: {}
22+
23+
jobs:
24+
gha:
25+
name: 'GHA'
26+
runs-on: ubuntu-latest
27+
permissions:
28+
security-events: write # To create/update security events
29+
steps:
30+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
31+
with:
32+
persist-credentials: false
33+
34+
- name: 'initialize'
35+
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3
36+
with:
37+
languages: actions
38+
queries: security-extended
39+
40+
- name: 'perform analysis'
41+
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3

0 commit comments

Comments
 (0)