feat: add agent-platform backend support for CI agent dispatch #5003
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: Knowledgebase Lint | |
| on: [pull_request] | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| contents: read | |
| env: | |
| GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }} | |
| jobs: | |
| validate: | |
| name: Knowledgebase Lint | |
| runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner | |
| steps: | |
| - name: Checkout Codebase | |
| uses: actions/checkout@v3 | |
| - name: Use Node v22 | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 22 | |
| - name: Setup Cache & Install Dependencies | |
| uses: ./.github/actions/install-dependencies | |
| - name: Build Blade | |
| run: yarn build | |
| working-directory: packages/blade | |
| - name: Run Lint Script | |
| run: yarn tsc:knowledgebase | |
| drift: | |
| name: Knowledgebase Drift Check | |
| runs-on: ubuntu-latest # nosemgrep: non-self-hosted-runner | |
| steps: | |
| - name: Checkout Codebase | |
| uses: actions/checkout@v3 | |
| - name: Use Node v22 | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 22 | |
| - name: Setup Cache & Install Dependencies | |
| uses: ./.github/actions/install-dependencies | |
| # Compares knowledgebase doc types with Blade source types. Exceptions go in | |
| # scripts/knowledgebaseDriftIgnore.json | |
| - name: Run Drift Check | |
| run: yarn check:knowledgebase-drift --fail | |
| env: | |
| NODE_OPTIONS: --max-old-space-size=4096 |