Skip to content

Commit c4f8875

Browse files
committed
ci: add CodeQL security scanning (weekly + on push/PR)
1 parent 8906609 commit c4f8875

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CodeQL
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
schedule:
8+
- cron: '0 6 * * 1'
9+
jobs:
10+
analyze:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
security-events: write
14+
steps:
15+
- uses: actions/checkout@v6
16+
- uses: github/codeql-action/init@v3
17+
with:
18+
languages: ruby
19+
- uses: github/codeql-action/autobuild@v3
20+
- uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)