Repository navigation
docs: add AGENTS.md #1298
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: Lint Commit Messages | |
| on: [pull_request] | |
| jobs: | |
| commitlint: | |
| if: github.actor != 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 24 | |
| cache: 'yarn' | |
| cache-dependency-path: 'yarn.lock' | |
| # Full install is required because commitlint.config.js extends | |
| # @commitlint/config-nx-scopes, which reads the NX workspace at | |
| # runtime to enumerate valid scope names. The yarn cache above | |
| # (keyed on yarn.lock) means this is a cache-restore on most runs. | |
| - name: Install Dependencies | |
| run: yarn install --immutable | |
| - name: Lint Commit Message | |
| uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1 | |
| env: | |
| NODE_PATH: ${{ github.workspace }}/node_modules |