From 1c3376117918cdd605514280132e96b6178ceb61 Mon Sep 17 00:00:00 2001 From: CLAUDE <355856132+HoTT-stuff@users.noreply.github.com> Date: Thu, 19 Nov 2026 02:14:38 +0000 Subject: [PATCH 1/2] ci: add TagBot so registered versions are tagged General creates no tag in this repository; TagBot does, after the registration merges. Pinned to a full commit (v1.25.15), as the other workflows are. Runs only for JuliaTagBot comments or by hand, and needs only the default token. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_0136P7ZpWuto1gvzJmE9snCY --- .github/workflows/TagBot.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/TagBot.yml diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 0000000..7f637cf --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -0,0 +1,26 @@ +# SPDX-License-Identifier: MPL-2.0 +# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) +# +# Creates the git tag and GitHub release for a version once General has merged +# its registration. Without it a registered version has no tag in this +# repository. It reads the registry; it does not register anything. +name: TagBot +on: + issue_comment: + types: [created] + workflow_dispatch: +permissions: + actions: read + checks: read + contents: write + issues: read + pull-requests: read +jobs: + TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + runs-on: ubuntu-24.04 + timeout-minutes: 10 + steps: + - uses: JuliaRegistries/TagBot@87cc4cc2b4639f6c743f5772f376a32914060732 # v1.25.15 + with: + token: ${{ secrets.GITHUB_TOKEN }} From c6adfbbdf20ca1ec94aec488e3bf2b1d6ae050fb Mon Sep 17 00:00:00 2001 From: CLAUDE <355856132+HoTT-stuff@users.noreply.github.com> Date: Thu, 19 Nov 2026 02:23:55 +0000 Subject: [PATCH 2/2] ci(tagbot): let TagBot open its recovery issue With issues: read, TagBot cannot open the manual-tagging issue it creates when a tag push fails, so the notice would be lost. Set issues: write; all other permissions are unchanged. Raised by CodeRabbit on #21; checked against the pinned TagBot source. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_0136P7ZpWuto1gvzJmE9snCY --- .github/workflows/TagBot.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 7f637cf..1f52124 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -3,7 +3,8 @@ # # Creates the git tag and GitHub release for a version once General has merged # its registration. Without it a registered version has no tag in this -# repository. It reads the registry; it does not register anything. +# repository. It reads the registry; it does not register anything. issues: write +# lets it open its manual-tagging issue if a tag push fails. name: TagBot on: issue_comment: @@ -13,7 +14,7 @@ permissions: actions: read checks: read contents: write - issues: read + issues: write pull-requests: read jobs: TagBot: