Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Scan the code with CodeQL on pull requests, main and weekly

Nguyen Xuan An6eeab05012ed
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
new file mode 100644
index 00000000..8998977e
--- /dev/null
+++ b/.github/workflows/codeql.yml
@@ -0,0 +1,34 @@
+name: CodeQL
+
+on:
+ pull_request:
+ push:
+ branches: [main]
+ schedule:
+ - cron: '17 3 * * 1'
+
+permissions:
+ contents: read
+
+concurrency:
+ group: codeql-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ analyze:
+ runs-on: ubuntu-latest
+ timeout-minutes: 30
+ permissions:
+ contents: read
+ security-events: write
+ steps:
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ # JavaScript is analysed from source, so no build step runs and no dependency scripts execute.
+ - uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
+ with:
+ languages: javascript-typescript
+ build-mode: none
+ queries: security-extended
+ - uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
+ with:
+ category: /language:javascript-typescript