Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CodeQL

on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '17 4 * * 1'

permissions:
contents: read
security-events: write

concurrency:
group: codeql-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
analyze:
name: CodeQL (JavaScript/TypeScript)
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout source without persisted credentials
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
fetch-depth: 0

- name: Initialize CodeQL
uses: github/codeql-action/init@e429ea58a9912cadc53f8132ad35562b54de1b30 # v3.38.1
with:
languages: javascript-typescript
build-mode: none

- name: Analyze
uses: github/codeql-action/analyze@e429ea58a9912cadc53f8132ad35562b54de1b30 # v3.38.1
with:
category: /language:javascript-typescript
1 change: 1 addition & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ If private vulnerability reporting is unavailable to you, contact Brida maintain
- do not publish exploit details before coordinated remediation;
- fork PR workflows must not receive production or publishing secrets;
- generated artifacts must not contain local/private paths or source maps with internal data.
- pull requests and `main` are scanned with GitHub CodeQL; do not bypass a failing code-scanning gate.

Brida may temporarily restrict discussion or publication while a vulnerability is investigated.

Expand Down
Loading