Update Product Versions #30
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 Product Versions | |
| on: | |
| schedule: | |
| - cron: '0 2 * * *' | |
| workflow_dispatch: | |
| concurrency: | |
| group: update-product-versions | |
| cancel-in-progress: false | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update-product-versions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Setup pnpm | |
| uses: ./.github/actions/setup-pnpm | |
| - name: Update and validate tracked product versions | |
| run: pnpm manifest-data:update -- --only=product-versions | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Check formatting | |
| run: | | |
| pnpm format:check | |
| pnpm biome:check | |
| git diff --check | |
| - name: Check for changes | |
| id: git-check | |
| run: | | |
| git diff --exit-code manifests data/data-health.json docs/DATA-HEALTH.md src/lib/generated || echo "changes=true" >> "$GITHUB_OUTPUT" | |
| - name: Create pull request | |
| if: steps.git-check.outputs.changes == 'true' | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: 'chore(data): refresh product versions' | |
| title: 'chore(data): refresh product versions' | |
| body: | | |
| ## Summary | |
| Automated refresh of product versions from the registry sources declared in each manifest. | |
| ## Validation | |
| - Manifest schemas | |
| - Generated manifest modules | |
| - Internationalization structure | |
| - Data health | |
| The workflow preserves existing values when any configured source cannot be verified. | |
| branch: auto-update-product-versions | |
| delete-branch: true | |
| labels: | | |
| automated |