The repository now lives in the poli0981org organization, and this makes it at home there. - main was red since 2026-11-18: RUSTSEC-2026-0543 (chrono), in Cargo.lock only through serde_with's weak features and compiled into nothing; ignored with its reason and exit condition. - Supersedes #113–#118 (Rust 1.100.0, rusqlite 0.42.0, Tauri 2.12.6, code-health pins, actions, npm) plus jsdom 31.0.1; minimatch 11 closes GHSA-g3hv-75wg-m249. rfd 0.18 (#112) is held again until tauri-plugin-dialog moves. - Dependabot's tauri groups never worked (it picks the most specific group); exclude-patterns on the catch-alls fix it. - CI is self-contained: no workflow calls poli0981/.github; every action is pinned by commit; notify.yml vendors the Discord notifier. - npm licences: scripts/check-licenses.mjs, deny.toml's allowlist for the npm half. Required, with cargo deny and tauri lockstep — eight required checks. - Qodana in two parts (Rust, TS/JS), full scans, a triaged Rust baseline, fail on anything new. The Rust container needed its toolchain and CARGO_HOME pointed somewhere writable before it analysed anything. - SonarQube Cloud analyses into poli0981org_pipdock; every npm ci runs with --ignore-scripts (S6505). - Every repository URL points at the organization. README's attestation command for 1.4.0/1.5.0 had stopped working; it now says --owner poli0981 --signer-repo poli0981/pipdock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60 lines
2.2 KiB
YAML
60 lines
2.2 KiB
YAML
# CodeQL, project-local since the move to poli0981org (2026-11-21).
|
|
#
|
|
# It was a caller into the owner's personal ops repo (`poli0981/.github`'s reusable-codeql.yml, at
|
|
# `@main`), whose steps used `github/codeql-action@v4` by tag. The same analysis runs here with the
|
|
# action pinned by commit, and the write permission on the one job that uploads.
|
|
#
|
|
# Three languages, all `build-mode: none`. **Rust** — CodeQL analyses it without a build; this
|
|
# file said for six releases that CodeQL had no Rust support, which stopped being true in 2025.
|
|
# **Actions** — the workflows themselves: write permissions at workflow level, unpinned
|
|
# third-party actions, untrusted input in a `run:`. **JavaScript/TypeScript** — the frontend, and
|
|
# a required check under exactly the name `Analyze (javascript-typescript)` (RELEASE-CI.md §2).
|
|
# The `category` values are the reusable's, so existing alerts keep their history.
|
|
#
|
|
# Settings → Advanced Security → CodeQL "Default setup" must stay disabled, or this advanced
|
|
# setup is rejected at upload time.
|
|
|
|
name: CodeQL
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
schedule:
|
|
# Weekly, offset off the hour to avoid the top-of-hour scheduling pileup.
|
|
- cron: '37 4 * * 1'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze (${{ matrix.language }})
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
packages: read # CodeQL's own query packs
|
|
security-events: write # upload the results
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [javascript-typescript, rust, actions]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
build-mode: none
|
|
|
|
- name: Perform CodeQL analysis
|
|
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
|
|
with:
|
|
category: /language:${{ matrix.language }}
|