Skip to content

Commit be40897

Browse files
committed
Add CodeQL and dependency scan
1 parent 75e2b93 commit be40897

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CodeQL analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
schedule:
11+
- cron: "0 8 * * *" # every day at 8 AM UTC
12+
13+
permissions:
14+
security-events: write
15+
packages: read
16+
contents: read
17+
actions: read
18+
19+
jobs:
20+
analyze:
21+
uses: HSLdevcom/jore4-tools/.github/workflows/shared-codeql.yml@shared-ghas-workflows-v1
22+
with:
23+
languages: '["actions", "java-kotlin"]'
24+
java_build_command: "mvn clean install -DskipTests"
25+
java_version: "21"
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Dependency Scan
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
dependency-scan:
11+
uses: HSLdevcom/jore4-tools/.github/workflows/shared-dependency-scan.yml@shared-ghas-workflows-v1

0 commit comments

Comments
 (0)