feat(release): v8.4.0 — decision request context + pasal_56b_dpa tran… #105
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: Version Alignment Check | |
| # Blocks merges that would leave version.go out of sync with | |
| # CHANGELOG.md's most recent released section. The invariant on main: | |
| # const Version in version.go == first `## [X.Y.Z]` section in CHANGELOG | |
| # When it's time to release, a single release-prep PR renames | |
| # `[Unreleased]` → `[X.Y.Z] - YYYY-MM-DD` AND bumps version.go in the | |
| # same commit, so this gate always sees them together. | |
| # | |
| # See .github/scripts/validate-version-alignment.sh for the script. | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'CHANGELOG.md' | |
| - 'version.go' | |
| - '.github/scripts/validate-version-alignment.sh' | |
| - '.github/workflows/validate-version-alignment.yml' | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'CHANGELOG.md' | |
| - 'version.go' | |
| - '.github/scripts/validate-version-alignment.sh' | |
| - '.github/workflows/validate-version-alignment.yml' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| validate-versions: | |
| name: Validate Version Alignment | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check version alignment | |
| run: ./.github/scripts/validate-version-alignment.sh |