# # This GitHub action checks plugin repositories for valid docs. # # This provides a quick assessment on PRs of whether # there might be issues with docs in plugin repositories. # # This is intended to help debug Vercel build issues, which # may or may not be related to docs in plugin repositories. name: "website: Check plugin docs" on: pull_request: paths: - "website/**" schedule: - cron: "45 0 * * *" permissions: contents: read jobs: check-plugin-docs: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Setup Node uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 with: node-version: '16.x' - name: Install Dependencies run: npm i @hashicorp/platform-packer-plugins - name: Fetch and validate plugin docs run: node .github/workflows/check-plugin-docs.js