Skip to content

Commit 4625094

Browse files
Copilotjankapunkt
andcommitted
Add CodeQL workflow for security analysis
Co-authored-by: jankapunkt <1135285+jankapunkt@users.noreply.github.com>
1 parent 0203b19 commit 4625094

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: "CodeQL"
2+
3+
permissions:
4+
actions: read
5+
contents: read
6+
security-events: write
7+
8+
on:
9+
push:
10+
branches:
11+
- master
12+
- development
13+
pull_request:
14+
branches:
15+
- master
16+
- development
17+
schedule:
18+
# Run at 00:00 UTC every day
19+
- cron: '0 0 * * *'
20+
21+
jobs:
22+
analyze:
23+
name: Analyze
24+
runs-on: ubuntu-latest
25+
26+
strategy:
27+
fail-fast: false
28+
matrix:
29+
language: ['javascript']
30+
31+
steps:
32+
- name: Checkout repository
33+
uses: actions/checkout@v6
34+
35+
- name: Initialize CodeQL
36+
uses: github/codeql-action/init@v3
37+
with:
38+
languages: ${{ matrix.language }}
39+
# If you wish to specify custom queries, you can do so here or in a config file.
40+
# By default, queries listed here will override any specified in a config file.
41+
# Prefix the list here with "+" to use these queries and those in the config file.
42+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
43+
44+
- name: Autobuild
45+
uses: github/codeql-action/autobuild@v3
46+
47+
- name: Perform CodeQL Analysis
48+
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)