Skip to content

Commit 60b7b4e

Browse files
committed
ci: add CodeQL workflow for Ruby
1 parent 5851c22 commit 60b7b4e

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: codeql
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
schedule:
8+
- cron: "0 0 * * 0" # weekly
9+
10+
permissions:
11+
actions: read
12+
contents: read
13+
security-events: write
14+
15+
jobs:
16+
analyze:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
language: [ruby]
22+
steps:
23+
- uses: actions/checkout@v7
24+
- uses: github/codeql-action/init@v3
25+
with:
26+
languages: ${{ matrix.language }}
27+
- uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)