mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-05 16:17:10 +01:00
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.37.7 to 4.37.8. - [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.37.7...v4.37.8) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.37.8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
50 lines
1.4 KiB
YAML
50 lines
1.4 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:
|
|
push:
|
|
branches: [main]
|
|
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.37.8
|
|
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.37.8
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v4.37.8
|
|
with:
|
|
category: '/language:javascript-typescript'
|