mirror of
https://github.com/restincode/restincode.git
synced 2026-09-11 17:19:30 +02:00
Add schema/person.schema.json and scripts/validate_people.py, run via a pre-commit hook and a GitHub Actions job on pull requests. Checks: - people/*.json match the schema (keys, types, item shapes) - every peoplelist.json entry has a file and every file is listed once - filenames are lowercase alphanumeric (two legacy names grandfathered) - local image paths exist under images/ - link fields are http(s) with no surrounding whitespace - text-only fields contain no HTML; maintext stays raw HTML by design Warns (non-fatal) on gallery items with no title, which the page uses as alt text. Adds a pip dependabot entry for scripts/requirements.txt.
23 lines
755 B
YAML
23 lines
755 B
YAML
# To get started with Dependabot version updates, you'll need to specify which
|
|
# package ecosystems to update and where the package manifests are located.
|
|
# Please see the documentation for all configuration options:
|
|
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
|
|
version: 2
|
|
updates:
|
|
# Maintain dependencies for GitHub Actions
|
|
- package-ecosystem: "github-actions"
|
|
directory: "/"
|
|
schedule:
|
|
interval: "weekly"
|
|
target-branch: "main"
|
|
assignees:
|
|
- "mauvehed"
|
|
# Python dependencies for scripts/validate_people.py
|
|
- package-ecosystem: "pip"
|
|
directory: "/scripts"
|
|
schedule:
|
|
interval: "weekly"
|
|
target-branch: "main"
|
|
assignees:
|
|
- "mauvehed"
|