build(deps-dev): bump markdownlint-cli2 from 0.23.1 to 0.23.2 #2214
Workflow file for this run
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: CI • Unified Checks (Lint, Test, Validate) | |
| on: | |
| pull_request: | |
| branches: [develop] | |
| paths-ignore: | |
| - ".github/reports/**" | |
| - ".github/projects/**" | |
| - ".github/tmp/**" | |
| push: | |
| branches: [develop] | |
| paths-ignore: | |
| - ".github/reports/**" | |
| - ".github/projects/**" | |
| - ".github/tmp/**" | |
| merge_group: | |
| types: [checks_requested] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| concurrency: | |
| group: checks-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: Linting | |
| if: github.actor != 'imgbot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - run: npm ci | |
| - run: npm run lint:all | |
| - run: npm run validate:skill-manifests | |
| - run: npm run validate:plugins | |
| - run: npm run validate:agent-hooks | |
| test: | |
| name: Testing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - run: npm ci | |
| - run: npm run test | |
| validate: | |
| name: Validation | |
| if: github.actor != 'imgbot[bot]' | |
| runs-on: ubuntu-latest | |
| env: | |
| BASE_SHA: ${{ github.event.merge_group.base_sha || github.event.pull_request.base.sha || github.event.before }} | |
| HEAD_SHA: ${{ github.event.merge_group.head_sha || github.event.pull_request.head.sha || github.sha }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version-file: ".nvmrc" | |
| - run: npm ci | |
| - name: Validate branch name | |
| if: github.event_name != 'merge_group' | |
| env: | |
| BRANCH_NAME: ${{ github.event.merge_group.head_ref || github.event.pull_request.head.ref || github.ref_name }} | |
| run: npm run validate:branch-name | |
| - name: Validate changed JSON files only | |
| run: npm run validate:json | |
| - name: Validate issue fields (changed files only) | |
| run: npm run validate:issue-fields | |
| - name: Validate retired documentation links (changed files only) | |
| run: npm run validate:retired-doc-links | |
| - name: Validate footers (changed only) | |
| run: npm run validate:footers -- --changed-only --base=${{ env.BASE_SHA }} --head=${{ env.HEAD_SHA }} | |
| - name: Validate frontmatter (changed only) | |
| run: npm run validate:frontmatter:changed -- --base ${{ env.BASE_SHA }} --head ${{ env.HEAD_SHA }} | |
| # Composite status check: ensures all checks pass before merge | |
| all-checks: | |
| name: All Checks Passed | |
| needs: [lint, test, validate] | |
| if: always() | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Evaluate check results | |
| run: test "${{ needs.lint.result }}" != "failure" -a "${{ needs.test.result }}" != "failure" -a "${{ needs.validate.result }}" != "failure" && echo "✅ All checks passed" || (echo "❌ One or more checks failed" && exit 1) |