Update Docs Generator #46067
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: Update Docs Generator | |
| on: | |
| push: | |
| branches: | |
| main | |
| schedule: | |
| - cron: '*/300 * * * *' | |
| permissions: | |
| contents: write | |
| jobs: | |
| Main-Updater: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: "main" | |
| fetch-depth: '0' | |
| - name: Setup Node.js environment | |
| uses: actions/[email protected] | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| cache-dependency-path: './package-lock.json' | |
| - name: Install NPM | |
| run: | | |
| npm ci | |
| - name: Check Build Commit | |
| run: | | |
| npm run check-for-update |