Commit Integrity Drift Monitor #730
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Commit Integrity Drift Monitor | |
| on: | |
| schedule: | |
| - cron: '17 */6 * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: commit-integrity-drift-monitor | |
| cancel-in-progress: false | |
| permissions: | |
| actions: read | |
| contents: read | |
| issues: write | |
| jobs: | |
| monitor: | |
| name: monitor | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| - name: Emit commit-integrity drift report | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| run: | | |
| node tools/npm/run-script.mjs priority:commit-integrity:drift -- \ | |
| --route-on-breach \ | |
| --route-labels slo,ci,governance,supply-chain \ | |
| --route-title-prefix "[SLO] Commit integrity breach" | |
| - name: Upload commit-integrity drift artifact | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: commit-integrity-drift-${{ github.run_id }}-${{ github.run_attempt }} | |
| path: tests/results/_agent/commit-integrity/commit-integrity-drift-report.json | |
| if-no-files-found: error |