chore: upgrade Astro #252
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: Freshness guard | |
| # Makes independent versioning honest: a starter edit or a | |
| # nimbus-docs minor+ bump only reaches users through a create-nimbus-docs | |
| # release, so require a CLI changeset when one is needed. | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize, reopened, labeled, unlabeled] | |
| permissions: | |
| contents: read | |
| jobs: | |
| freshness: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| with: | |
| # Need the base branch present locally to diff against it. | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - name: Require a create-nimbus-docs changeset when templates change | |
| run: node scripts/freshness-guard.mjs | |
| env: | |
| BASE_REF: ${{ github.base_ref }} | |
| - name: Validate upgrade declarations | |
| run: pnpm upgrades:check | |
| env: | |
| BASE_REF: ${{ github.base_ref }} | |
| BREAKING_CHANGE: ${{ contains(github.event.pull_request.labels.*.name, 'breaking-change') }} |