mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 06:49:58 +01:00
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.38.2 to 4.39.3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v4.38.2...v4.39.3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.39.3 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
name: CodeQL
|
|
|
|
# Static application security testing (SAST) via GitHub CodeQL — free for public
|
|
# repos. Complements the CI `security` job (secrets + dependency CVEs): this finds
|
|
# code-level vulnerabilities (injection, unsafe flows) and surfaces them in the
|
|
# repo Security tab. Runs on PRs, on main, and weekly to catch newly-published
|
|
# query updates against unchanged code.
|
|
|
|
on:
|
|
# No push-to-main run: the PR scan already covered the merged code (CI audit 2026-10-21).
|
|
pull_request:
|
|
branches: [main]
|
|
schedule:
|
|
- cron: '0 3 * * 1' # Mondays 03:00 UTC
|
|
|
|
permissions:
|
|
contents: read
|
|
security-events: write
|
|
actions: read
|
|
|
|
concurrency:
|
|
group: codeql-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
analyze:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 30
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v4.39.3
|
|
with:
|
|
languages: javascript-typescript
|
|
# 'security-and-quality' adds maintainability queries on top of the
|
|
# default security set — a slightly larger but richer sweep.
|
|
queries: security-and-quality
|
|
|
|
# JS/TS is interpreted — no compile step. autobuild is a safe no-op here.
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v4.39.3
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v4.39.3
|
|
with:
|
|
category: '/language:javascript-typescript'
|