Skip to content

feat: enable AI-readiness extensions in playbooks #65

feat: enable AI-readiness extensions in playbooks

feat: enable AI-readiness extensions in playbooks #65

Workflow file for this run

---
name: Agent-Friendly Docs Checks
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
afdocs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Wait for Netlify Deploy
uses: jakepartusch/[email protected]
id: wait-for-netlify
with:
site_name: redpanda-documentation
max_timeout: 600
- name: Run afdocs checks
id: afdocs
continue-on-error: true
env:
DEPLOY_URL: ${{ steps.wait-for-netlify.outputs.url }}
run: npm run afdocs:verbose
- name: Post results summary
if: always()
run: |
echo "## Agent-Friendly Docs Check Results" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "**Deploy URL:** ${{ steps.wait-for-netlify.outputs.url }}" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
if [ "${{ steps.afdocs.outcome }}" == "success" ]; then
echo "✅ All checks passed!" >> $GITHUB_STEP_SUMMARY
else
echo "⚠️ Some checks failed or had warnings. See job logs for details." >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "Run locally with: \`DEPLOY_URL=${{ steps.wait-for-netlify.outputs.url }} npm run afdocs:verbose\`" >> $GITHUB_STEP_SUMMARY
fi