mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 04:32:32 +00:00
1b27babd17
zizmor (static analysis for GitHub Actions) now runs twice: locally before a
workflow commit (hard rule in .claude/CLAUDE.md) and as the `zizmor` job next to
the pin gate in action-pins.yml (zizmorcore/zizmor-action pinned by SHA, zizmor
1.30.1 pinned, SARIF into Code scanning, severity low and above). Like the pin
gate it reports and does not block. zizmor.yml holds the single reasoned ignore.
Baseline fixes so the gate starts green:
- persist-credentials: false on every checkout except combine-rules.yml, the one
job that pushes with the checkout credentials (ignored in zizmor.yml, with reason)
- publish-scripts.yml: id-token: write moves from the workflow to the publish job;
indexnow-notify.yml: permissions: {}
- deploy-mcp.yml: env values referenced as shell variables inside bash steps
instead of template expansion
- pester.yml / publish-scripts.yml: reusable workflow via the self-repository form
$/ (GitHub changelog 2026-07-30); the pin gate treats $/ like ./
- combine-rules.yml: ajv-cli installed with npm ci from rules/scripts/package-lock.json
(no ts-node peer, no lifecycle scripts) instead of an ad-hoc global install;
Dependabot watches /rules/scripts
- azure/login pin comment corrected to the tag the SHA actually is (v3.0.2; v3
moved on to v3.1.0), no runtime change
- Dependabot: 7-day cooldown on every ecosystem (security updates are exempt)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
100 lines
3.1 KiB
YAML
100 lines
3.1 KiB
YAML
version: 2
|
|
|
|
# Cooldown: a version is proposed only once it has been public for 7 days, so a
|
|
# release that is yanked or found malicious within its first week never reaches a
|
|
# PR. Security updates are exempt from the cooldown by Dependabot's own rules.
|
|
#
|
|
# Grouping: every ecosystem gets one batched PR for minor/patch version
|
|
# updates and one batched PR for security updates. Groups apply to version
|
|
# updates only by default, so the security-updates groups are declared
|
|
# explicitly — otherwise every advisory lands as its own PR.
|
|
|
|
updates:
|
|
- package-ecosystem: nuget
|
|
directory: /
|
|
schedule:
|
|
interval: weekly
|
|
cooldown:
|
|
default-days: 7
|
|
open-pull-requests-limit: 5
|
|
groups:
|
|
dotnet:
|
|
patterns: ['*']
|
|
update-types: [minor, patch]
|
|
dotnet-security:
|
|
applies-to: security-updates
|
|
patterns: ['*']
|
|
|
|
- package-ecosystem: npm
|
|
directory: /src/Web/autopilot-monitor-web
|
|
schedule:
|
|
interval: weekly
|
|
cooldown:
|
|
default-days: 7
|
|
open-pull-requests-limit: 5
|
|
groups:
|
|
web:
|
|
patterns: ['*']
|
|
update-types: [minor, patch]
|
|
web-security:
|
|
applies-to: security-updates
|
|
patterns: ['*']
|
|
# Major bumps are breaking and reviewed deliberately, not auto-PR'd.
|
|
# Security updates ignore this filter, so the Security tab stays clean.
|
|
ignore:
|
|
- dependency-name: '*'
|
|
update-types: ['version-update:semver-major']
|
|
|
|
- package-ecosystem: npm
|
|
directory: /src/McpServer/autopilot-monitor-mcp
|
|
schedule:
|
|
interval: weekly
|
|
cooldown:
|
|
default-days: 7
|
|
open-pull-requests-limit: 5
|
|
groups:
|
|
mcp:
|
|
patterns: ['*']
|
|
update-types: [minor, patch]
|
|
mcp-security:
|
|
applies-to: security-updates
|
|
patterns: ['*']
|
|
# Major bumps are breaking and reviewed deliberately, not auto-PR'd.
|
|
# Security updates ignore this filter, so the Security tab stays clean.
|
|
ignore:
|
|
- dependency-name: '*'
|
|
update-types: ['version-update:semver-major']
|
|
|
|
# Validator tooling for rules/ (ajv-cli); combine-rules.yml installs it from this
|
|
# lockfile with contents:write in hand, so the pins must not go stale.
|
|
- package-ecosystem: npm
|
|
directory: /rules/scripts
|
|
schedule:
|
|
interval: weekly
|
|
cooldown:
|
|
default-days: 7
|
|
open-pull-requests-limit: 5
|
|
groups:
|
|
rules-tooling:
|
|
patterns: ['*']
|
|
rules-tooling-security:
|
|
applies-to: security-updates
|
|
patterns: ['*']
|
|
|
|
# Every action is referenced by commit SHA with the version in a trailing comment;
|
|
# action-pins.yml fails any workflow change that reintroduces a mutable tag. Dependabot
|
|
# is what keeps those pins current: it rewrites the SHA and the comment together, so the
|
|
# pins are reviewed in a PR instead of drifting silently or being bumped by hand.
|
|
- package-ecosystem: github-actions
|
|
directory: /
|
|
schedule:
|
|
interval: monthly
|
|
cooldown:
|
|
default-days: 7
|
|
groups:
|
|
actions:
|
|
patterns: ['*']
|
|
actions-security:
|
|
applies-to: security-updates
|
|
patterns: ['*']
|