Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/branch-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ permissions:
contents: read

on:
workflow_dispatch:
pull_request:
branches:
- main
Expand All @@ -18,7 +19,7 @@ jobs:
run: |
set -euo pipefail

source="${{ github.head_ref }}"
source="${GITHUB_HEAD_REF:-${GITHUB_REF_NAME}}"
echo "Source branch: ${source}"

if [[ "${source}" == "development" || "${source}" == release/v* ]]; then
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Commitlint

on:
workflow_dispatch:
pull_request:
branches:
- main
Expand All @@ -21,7 +22,15 @@ jobs:
with:
fetch-depth: 0

- name: Lint commits
- name: Lint PR commits
if: github.event_name == 'pull_request'
uses: wagoid/commitlint-github-action@v6
with:
configFile: .commitlintrc.json

- name: Lint release commit
if: github.event_name == 'workflow_dispatch'
uses: wagoid/commitlint-github-action@v6
with:
configFile: .commitlintrc.json
commitDepth: 1
50 changes: 15 additions & 35 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:
permissions:
contents: write
pull-requests: write
actions: write

concurrency:
group: release-${{ github.event_name }}-${{ github.ref_name }}
Expand Down Expand Up @@ -225,50 +226,29 @@ jobs:

echo "url=${pr_url}" >> "$GITHUB_OUTPUT"

- name: Dispatch validation workflows
shell: bash
run: |
set -euo pipefail

branch="${{ steps.version.outputs.branch }}"

# Run the real checks on the release branch so their check runs attach
# to the release commit, not this workflow_dispatch run.
gh workflow run branch-policy.yml --ref "${branch}"
gh workflow run commitlint.yml --ref "${branch}"
gh workflow run tests.yml --ref "${branch}"

- name: Write pull request summary
shell: bash
run: |
{
printf 'Release pull request: %s\n' "${{ steps.pr.outputs.url }}"
printf 'Validation workflows have been dispatched on %s.\n' "${{ steps.version.outputs.branch }}"
printf 'Publish is skipped on workflow_dispatch by design.\n'
printf 'Merge that pull request into main to trigger the publish job.\n'
} >> "$GITHUB_STEP_SUMMARY"

# GITHUB_TOKEN pushes don't trigger other workflows, so the required
# checks ("Run tests", "Lint commit messages") would stay pending on the
# release PR. These jobs run the same checks inline with matching names
# so branch protection on main is satisfied.
release-tests:
needs: prepare
if: github.event_name == 'workflow_dispatch'
name: Run tests
runs-on: macos-latest
steps:
- name: Check out release branch
uses: actions/checkout@v5
with:
ref: ${{ needs.prepare.outputs.branch }}

- name: Run tests
run: ./tests.sh

release-lint:
needs: prepare
if: github.event_name == 'workflow_dispatch'
name: Lint commit messages
runs-on: ubuntu-latest
steps:
- name: Check out release branch
uses: actions/checkout@v5
with:
ref: ${{ needs.prepare.outputs.branch }}
fetch-depth: 0

- name: Lint commits
uses: wagoid/commitlint-github-action@v6
with:
configFile: .commitlintrc.json

publish:
if: github.event_name == 'push'
name: Publish release
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ permissions:
contents: read

on:
workflow_dispatch:
push:
branches:
- development
Expand Down
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [0.1.2] - 2026-06-09

### Features

- multi-screen sync coordinator (#85)
- add two darker brightness steps to rain palette (#71)
- group options sheet into sections (#69)

### Bug Fixes

- dispatch release checks on release branch (#93)
- exit number rain loop when scene completes (#89)
- recreate release PR instead of reusing (#88)
- run required checks inline in release workflow (#87)
- trigger checks on release branch push (#86)
- restrict release workflow dispatch to development branch (#83)
- always regenerate changelog on release reruns (#82)
- allow release workflow dispatch from development branch (#81)
- source release changelog from development branch (#80)
- derive current version from latest git tag in release workflow (#74)
- auto-merge back-merge PR and sync VERSION after release (#73)
- apply typing speed to all intro scenes (#70)

## [0.1.1] - 2026-05-20

### Features
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.1
0.1.2
Loading