Skip to content
This repository was archived by the owner on Oct 22, 2026. It is now read-only.
Merged
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
59 changes: 57 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,74 @@ updates:
directory: /analytics
schedule:
interval: weekly
day: wednesday
open-pull-requests-limit: 10
groups:
npm-analytics-minor-patch:
patterns:
- "*"
update-types:
- minor
- patch
ignore:
# dompurify@3.2.7 is pinned by @scalar/api-reference via monaco-editor@0.55.1.
# No patched version resolvable until @scalar/api-reference upgrades monaco-editor.
# Mitigated locally via npm overrides (dompurify >= 3.4.0 in package.json).
- dependency-name: dompurify
update-types: ["version-update:semver-patch", "version-update:semver-minor"]

- package-ecosystem: npm
directory: /ui
schedule:
interval: weekly
day: wednesday
open-pull-requests-limit: 10
groups:
npm-ui-minor-patch:
patterns:
- "*"
update-types:
- minor
- patch

- package-ecosystem: cargo
directory: /edge
schedule:
interval: weekly
day: wednesday
open-pull-requests-limit: 5
groups:
cargo-edge-minor-patch:
patterns:
- "*"
update-types:
- minor
- patch

- package-ecosystem: npm
directory: /ui
- package-ecosystem: cargo
directory: /ui/src-tauri
schedule:
interval: weekly
day: wednesday
open-pull-requests-limit: 5
groups:
cargo-tauri-minor-patch:
patterns:
- "*"
update-types:
- minor
- patch

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: wednesday
open-pull-requests-limit: 5
groups:
github-actions-minor-patch:
patterns:
- "*"
update-types:
- minor
- patch
51 changes: 51 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# CodeQL advanced setup for languages present in this repository.
# Requires a public repository or GitHub Advanced Security for code scanning results.
name: CodeQL

on:
push:
branches: [main]
pull_request:
schedule:
# Wednesday 01:00 UTC (after OSV at 00:00)
- cron: "0 1 * * 3"
workflow_dispatch:

permissions: {}

jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
security-events: write

strategy:
fail-fast: false
matrix:
include:
- language: rust
build-mode: none
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
- language: python
build-mode: none

steps:
- name: Checkout repository
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

- name: Initialize CodeQL
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
category: "/language:${{ matrix.language }}"
34 changes: 34 additions & 0 deletions .github/workflows/osv-scanner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Weekly + on-demand full OSV scan; PR scan reports only newly introduced vulns.
# SARIF uploads to GitHub code scanning (requires public repo or GitHub Advanced Security).
name: OSV-Scanner

on:
schedule:
# Wednesday 00:00 UTC = 08:00 SGT
- cron: "0 0 * * 3"
pull_request:
workflow_dispatch:

permissions:
contents: read
security-events: write
actions: read

jobs:
scan-scheduled:
name: OSV-Scanner (scheduled / dispatch)
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable.yml@b1d267aea5211fa648d9d442fa64b90dbdcbdd36 # v2.7.0
permissions:
contents: read
security-events: write
actions: read

scan-pr:
name: OSV-Scanner (pull request)
if: github.event_name == 'pull_request'
uses: google/osv-scanner-action/.github/workflows/osv-scanner-reusable-pr.yml@b1d267aea5211fa648d9d442fa64b90dbdcbdd36 # v2.7.0
permissions:
contents: read
security-events: write
actions: read
Loading