Skip to content

Commit

Permalink
Scan code with CodeQL
Browse files Browse the repository at this point in the history
  • Loading branch information
VenomVendor committed Jun 22, 2024
1 parent 14b2ea4 commit 91f8bcd
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "CodeQL"

on:
push:
branches: ["main"]
paths:
- "**.java"
pull_request:
branches: ["main"]
paths:
- "**.java"
schedule:
- cron: "32 1 * * 6"

jobs:
analyze:
name: Analyze Java
runs-on: [ubuntu-latest]
timeout-minutes: 360
permissions:
security-events: write
packages: read
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java-kotlin
build-mode: autobuild
queries: security-and-quality
packs: scope/java-pack1,scope/java-pack2@v1.0.0

0 comments on commit 91f8bcd

Please sign in to comment.