chore(ci): bump actions/checkout from 6 to 7 #45
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: Governance Check | |
| on: | |
| pull_request: | |
| branches: [main, master] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| governance: | |
| name: Charter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Validate Commits | |
| run: npx charter validate --ci --format text | |
| - name: Drift Scan | |
| run: npx charter drift --ci --format text | |
| - name: ADF Wiring & Pointer Integrity | |
| run: npx charter doctor --adf-only --ci --format text | |
| if: hashFiles('.ai/manifest.adf') != '' | |
| - name: ADF Evidence | |
| run: npx charter adf evidence --auto-measure --ci --format text | |
| if: hashFiles('.ai/manifest.adf') != '' | |
| - name: Audit Report | |
| run: npx charter audit --format json > /tmp/audit.json | |
| if: always() |