Files
BoosAPI/.github/workflows/harness-drift-report.yml
T
Cita 9aeec87cfa chore: sweep dependabot updates and align Node 25 (#329)
* chore: sweep dependabot updates

* fix: narrow optional browser Buffer typing

* chore: align repo node pins to v25
2026-03-30 19:14:41 +08:00

45 lines
1.0 KiB
YAML

name: Harness Drift Report
on:
schedule:
- cron: '37 17 * * 1'
workflow_dispatch:
permissions:
contents: read
env:
NODE_VERSION: 25
jobs:
drift-report:
name: Generate Drift Report
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ env.NODE_VERSION }}
cache: npm
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --no-fund
- name: Generate repo drift report
run: npm run repo:drift-check -- --format markdown --output tmp/repo-drift-report.md --report-only
- name: Publish report to step summary
run: cat tmp/repo-drift-report.md >> "$GITHUB_STEP_SUMMARY"
- name: Upload report artifact
uses: actions/upload-artifact@v7
with:
name: repo-drift-report
path: tmp/repo-drift-report.md
retention-days: 30