Skip to content

fix(spa-deploy): pin deploy composites to immutable release tag; docs… #469

fix(spa-deploy): pin deploy composites to immutable release tag; docs…

fix(spa-deploy): pin deploy composites to immutable release tag; docs… #469

Workflow file for this run

name: release
on:
push:
branches:
- develop
- release-candidate
- main
paths-ignore:
- '.gitignore'
- '**/*.env'
- '*.env'
- '**/*.md'
- '*.md'
- '**/*.txt'
- '*.txt'
# The deployment matrix is resolved from main at runtime by callers, so
# matrix-only changes propagate without a new release tag.
- 'config/deployment-matrix.yml'
# Same rationale: the version-propagation matrix is metadata for the
# propagation controller; editing it must not cut a release.
- 'config/version-propagation.yml'
- '.github/workflows/self-*.yml'
tags-ignore:
- '**'
permissions:
id-token: write
contents: write
pull-requests: write
packages: read
jobs:
publish-release:
uses: ./.github/workflows/release.yml
with:
runner_type: ubuntu-latest
enable_changelog: ${{ github.ref == 'refs/heads/main' }}
enable_major_tag: ${{ github.ref == 'refs/heads/main' }}
secrets: inherit
# After every stable release on main, propagate the new `@vX.Y.Z` pin to
# every downstream repo declared in `config/version-propagation.yml`.
# Idempotent: targets already on the latest tag are skipped at apply time.
propagate-version:
needs: publish-release
if: github.ref == 'refs/heads/main' && needs.publish-release.result == 'success'
uses: ./.github/workflows/version-propagation.yml
with:
new_tag: "" # auto-resolve from `gh release list` in the workflow
dry_run: false
secrets: inherit