Reconcile the tree for 7.10.0
#10843
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: 馃┖ Debug | |
| "on": | |
| workflow_call: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/debug.yaml | |
| schedule: | |
| # Run monthly on the 1st at 12:00 UTC to spot silent regressions. | |
| - cron: "0 12 1 * *" | |
| permissions: {} | |
| concurrency: | |
| group: >- | |
| ${{ github.workflow }}-${{ | |
| github.event.pull_request.number | |
| || github.ref | |
| }} | |
| cancel-in-progress: >- | |
| ${{ !startsWith(github.event.head_commit.message, | |
| '[changelog] Release') }} | |
| # Supply-chain cooldown: no package published within the window can be resolved by | |
| # any command in this workflow. Set here, not per command, so it also covers the | |
| # `metadata` bootstrap and any step added later; a workflow-level `env:` cannot | |
| # reference `needs`, so the window is a literal kept equal to `[tool.repomatic] | |
| # minimum-release-age`. repomatic's own test suite enforces that upstream; a | |
| # synced copy is kept in step by hand. Deliberate bypasses are per-package CLI | |
| # flags (`--exclude-newer-package`, `--min-release-age-exclude`). | |
| # See claude.md for the rationale. | |
| env: | |
| NPM_CONFIG_MIN_RELEASE_AGE: 7 | |
| UV_EXCLUDE_NEWER: "1 week" | |
| jobs: | |
| metadata: | |
| name: 馃К Project metadata | |
| runs-on: ubuntu-26.04 | |
| outputs: | |
| build_targets: ${{ steps.extend-matrix.outputs.targets }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 | |
| with: | |
| version: "0.12.1" | |
| - name: Run repomatic metadata | |
| id: metadata | |
| run: > | |
| uv --no-progress run --frozen -- repomatic --verbosity DEBUG metadata | |
| --format github-json --output "$GITHUB_OUTPUT" | |
| build_targets | |
| # Unwraps the nested JSON string the metadata output carries. Every job | |
| # runs on a test axis, so the build targets already span the fleet. | |
| - name: Unwrap build targets | |
| id: extend-matrix | |
| env: | |
| METADATA: ${{ steps.metadata.outputs.metadata }} | |
| run: | | |
| targets=$(echo "${METADATA}" | jq -c '.build_targets | fromjson') | |
| echo "targets=$targets" >> "$GITHUB_OUTPUT" | |
| dump-context: | |
| name: 馃┖ ${{ matrix.os }} info dump | |
| needs: | |
| - metadata | |
| if: needs.metadata.outputs.build_targets | |
| strategy: | |
| # Info-gathering matrix: see docs/workflows.md "Matrix fail-fast strategy". | |
| fail-fast: false | |
| matrix: | |
| include: ${{ fromJSON(needs.metadata.outputs.build_targets) }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: crazy-max/ghaction-dump-context@4d9eeaf15dd59aa4346919ea84a84ccf514b4db8 # v3.1.0 | |
| - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 | |
| with: | |
| version: "0.12.1" | |
| - run: uvx --no-progress 'extra-platforms==13.6.0' |