Files
free-games-itchio-list/.github/dependabot.yml
T
poli0981andClaude Opus 5.5 40b17e620d ci(sonar): analyse in GitHub Actions with test coverage (#157)
SonarQube Cloud analyses in GitHub Actions instead of Automatic
Analysis, with test coverage (sonarcloud.yml): token (skips Dependabot
and fork PRs, which get no SONAR_TOKEN) → coverage (pytest-cov and
Vitest v8, no secrets) → scan (sonarqube-scan-action v8.3.0, full
history, sonar.projectVersion from webapp/package.json).

sonar-project.properties replaces .sonarcloud.properties: tests marked
as tests, coverage exclusions for code without unit tests by design,
Python 3.14 (the analyzer has no 3.15 yet), binary images and the
SQLite migrations (claimed by the PL/SQL analyzer, which only warned)
left out.
Adds pytest-cov / coverage (dev lock recompiled on Python 3.14) and
@vitest/coverage-v8 (Dependabot group with vitest). Docs: CLAUDE.md
gotcha 41, THIRD_PARTY, dev_env, CONTRIBUTING (EN + VI).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:30:20 +07:00

88 lines
2.4 KiB
YAML

# Dependabot version updates. Security updates are enabled separately in
# Settings → Code security (they are not limited by open-pull-requests-limit).
version: 2
updates:
- package-ecosystem: npm
directory: /webapp
schedule:
interval: weekly
day: monday
time: '01:30'
timezone: Asia/Ho_Chi_Minh
cooldown:
default-days: 3
open-pull-requests-limit: 5
groups:
react:
patterns: ['react', 'react-dom', '@types/react*', 'react-router*']
tanstack:
patterns: ['@tanstack/*']
radix:
patterns: ['@radix-ui/*', 'radix-ui']
tauri-js:
patterns: ['@tauri-apps/*']
# @vitest/coverage-v8 requires the exact vitest version (peer dependency).
vitest:
patterns: ['vitest', '@vitest/*']
build-tooling:
patterns:
- 'vite'
- '@vitejs/*'
- 'typescript'
- '@typescript/*'
- 'typescript-eslint'
- 'eslint*'
- '@eslint/*'
- 'knip'
- 'tailwindcss'
- '@tailwindcss/*'
- 'tw-animate-css'
- 'wrangler'
- '@cloudflare/*'
ignore:
# `typescript` is an alias of @typescript/typescript6 (the 6.0 API):
# typescript-eslint supports TypeScript < 6.1 only. TypeScript 7 itself
# is `@typescript/native`. Never move the alias to a new major.
- dependency-name: 'typescript'
update-types: ['version-update:semver-major']
# Match the Node 26 runtime.
- dependency-name: '@types/node'
versions: ['>=27']
- package-ecosystem: pip
directory: /
schedule:
interval: weekly
day: monday
cooldown:
default-days: 3
groups:
python:
patterns: ['*']
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: monday
groups:
actions:
patterns: ['*']
# Weekly on Mondays like npm, so tauri-rs and tauri-js bumps land together:
# `tauri build` (release workflows only) refuses crate / npm versions on a
# different major.minor; Webapp CI's check:tauri step catches a one-sided bump.
- package-ecosystem: cargo
directory: /webapp/src-tauri
schedule:
interval: weekly
day: monday
groups:
tauri-rs:
patterns: ['tauri*']
rust-other:
patterns: ['*']
ignore:
- dependency-name: 'tauri*'
versions: ['>=3.0.0-0']