Repository navigation
Baseline audit #7
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: Baseline audit | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # Monday 03:23 UTC / 12:23 Japan time. Scheduled runs use the default branch. | |
| - cron: '23 3 * * 1' | |
| permissions: | |
| contents: read | |
| jobs: | |
| audit: | |
| name: Baseline values (post-merge, not PR) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 350 | |
| steps: | |
| - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5 | |
| with: | |
| node-version: '24' | |
| - run: npm ci | |
| - name: Validate spec evidence | |
| run: node scripts/spec-static-check.mjs | |
| - name: Audit pinned baselines | |
| shell: bash | |
| run: | | |
| set -o pipefail | |
| npm run audit:baselines 2>&1 | tee "$RUNNER_TEMP/baseline-audit.log" | |
| - name: Publish evidence | |
| if: always() | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | |
| with: | |
| name: baseline-audit-${{ github.run_id }} | |
| path: ${{ runner.temp }}/baseline-audit.log | |
| if-no-files-found: warn |