Skip to content

Commit 55b3fcd

Browse files
committed
update yml configuration
1 parent ee74e11 commit 55b3fcd

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/codeql-rust.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
on:
2+
pull_request:
3+
paths:
4+
- "**/*.rs"
5+
- "Cargo.toml"
6+
- "Cargo.lock"
7+
8+
jobs:
9+
analyze:
10+
steps:
11+
- uses: github/codeql-action/init@v3
12+
with:
13+
languages: rust
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on:
2+
pull_request:
3+
paths:
4+
- "**/*.ts"
5+
- "**/*.tsx"
6+
- "**/*.js"
7+
- "**/*.jsx"
8+
- "package.json"
9+
10+
jobs:
11+
analyze:
12+
steps:
13+
- uses: github/codeql-action/init@v3
14+
with:
15+
languages: javascript-typescript

.github/workflows/codeql.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
on:
2+
push:
3+
branches: ["main", "dev", "staging"]
4+
pull_request:
5+
branches: ["**"] # Scan PRs from ANY branch

0 commit comments

Comments
 (0)