From c7cc95508430b332b4e4ea9f873a29702ee3e08e Mon Sep 17 00:00:00 2001 From: Berry Wahlberg Date: Thu, 6 Aug 2026 21:44:55 +0800 Subject: [PATCH] ci: rename test job to continuous-integration to match main branch protection --- .github/workflows/test.yml | 12 ++++++------ CHANGELOG.md | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae073dd..ee921ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,11 +7,11 @@ on: branches: [main, dev] jobs: - test: + # Job name MUST stay "continuous-integration": the main branch protection + # requires a status check with exactly this name (see PLAN.md Repository + # State). Without a matrix, GitHub reports the check as the bare job name. + continuous-integration: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.12"] steps: - uses: actions/checkout@v4 @@ -21,8 +21,8 @@ jobs: with: enable-cache: true - - name: Set up Python ${{ matrix.python-version }} - run: uv python install ${{ matrix.python-version }} + - name: Set up Python 3.12 + run: uv python install 3.12 - name: Install dependencies run: uv sync --dev diff --git a/CHANGELOG.md b/CHANGELOG.md index e73801f..6082a0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,9 @@ Maintenance rule: **every PR merged into `dev` must add its entry under `Unrelea ## [Unreleased] — dev branch -_No pending changes — re-opened on the next dev PR._ +### Changed + +- **CI check-name fix** (this PR): `test.yml` job renamed `test` → `continuous-integration` (matrix removed, Python 3.12 pinned) so the reported status check matches the `main` branch-protection requirement exactly — previously the protection waited on a non-existent `continuous-integration` check while the actual `test (3.12)` passed, blocking release PRs. ## [0.1.1] - 2026-08-06