From d450e39436f7e2e18a726e7c886b9a750e17f990 Mon Sep 17 00:00:00 2001 From: "ucgmsim[bot]" <335857963+ucgmsim[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2026 11:03:02 +1300 Subject: [PATCH] Fix wiki deploy branch and pin PyPI publish action to a tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary The repo already matches most of the shared CI baseline. `ci.yml` calls `ucgmsim/meta-ci-action/.github/workflows/ci.yml@v2` on `pull_request` and on `push` to `master`, with coverage at 95. `claude-review.yml` is a thin `issue_comment` wrapper around the shared workflow, and `lefthook.yml` loads the shared `lefthook/ci.yml` remote at `v2`. The only local hook is a `yaml` (yamllint) command, which isn't one of the shared commands. `[tool.npdlint]` already sets `include = ["IM"]`. This PR fixes the two places where the repo still doesn't match: - **`wiki.yml`**: the push trigger listed `branches: "main"`, but this repo's default branch is `master`. Because of that, the wiki deploy never ran on push. It now uses `branches: [master]`. - **`publish-PyPI.yml`**: `pypa/gh-action-pypi-publish@release/v1` pointed at a branch. The baseline says third-party actions must not be pinned to a branch, so it now uses the release tag `v1.13.0`. No new checks were added, because every check the shared CI offers was already running. `.ai/ci-checks` passed before these changes, and this PR only touches workflow YAML. ## Might still go red - I haven't run the publish workflow with the `v1.13.0` tag. It only runs on release, so the next release is the first real test. - `dtolnay/rust-toolchain@stable` still points at a branch. That is how the action is meant to be used: the branch name picks the toolchain. meta-ci-action's own `ci.yml` uses it the same way, so I left it alone. _Cost $0.23, 14 turns._ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/publish-PyPI.yml | 2 +- .github/workflows/wiki.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-PyPI.yml b/.github/workflows/publish-PyPI.yml index 20272cc6..7df022b2 100644 --- a/.github/workflows/publish-PyPI.yml +++ b/.github/workflows/publish-PyPI.yml @@ -108,4 +108,4 @@ jobs: merge-multiple: true - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@v1.13.0 diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index 1e127f39..e5bb7a46 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -2,7 +2,7 @@ name: deploy-wiki on: push: - branches: "main" + branches: [master] paths: wiki/** workflow_dispatch: jobs: