From 086113afe0e423525f150bb2c9c62304fef6ddbd Mon Sep 17 00:00:00 2001 From: mtfishman Date: Thu, 12 Feb 2026 19:54:00 -0500 Subject: [PATCH 1/2] Use shared TagBot workflow --- .github/workflows/TagBot.yml | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 0cd3114..08ff7d9 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,31 +1,14 @@ name: TagBot + on: - issue_comment: - types: - - created workflow_dispatch: - inputs: - lookback: - default: "3" -permissions: - actions: read - checks: read - contents: write - deployments: read - issues: read - discussions: read - packages: read - pages: read - pull-requests: read - repository-projects: read - security-events: read - statuses: read + schedule: + - cron: '0 * * * *' + jobs: TagBot: - if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' - runs-on: ubuntu-latest - steps: - - uses: JuliaRegistries/TagBot@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - ssh: ${{ secrets.DOCUMENTER_KEY }} + uses: "ITensor/ITensorActions/.github/workflows/TagBot.yml@main" + with: + localregistry: https://github.com/ITensor/ITensorRegistry.git + secrets: + TAGBOT_TOKEN: ${{ secrets.TAGBOT_TOKEN }} From 81eb17ec033a774ad861ba6d103e11a1cce8eefe Mon Sep 17 00:00:00 2001 From: mtfishman Date: Thu, 12 Feb 2026 20:12:56 -0500 Subject: [PATCH 2/2] Make it self contained --- .github/workflows/TagBot.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 08ff7d9..86de60c 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,14 +1,19 @@ name: TagBot - on: + issue_comment: + types: + - created workflow_dispatch: schedule: - cron: '0 * * * *' jobs: TagBot: - uses: "ITensor/ITensorActions/.github/workflows/TagBot.yml@main" - with: - localregistry: https://github.com/ITensor/ITensorRegistry.git - secrets: - TAGBOT_TOKEN: ${{ secrets.TAGBOT_TOKEN }} + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + runs-on: ubuntu-slim + steps: + - uses: JuliaRegistries/TagBot@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + registry: https://github.com/ITensor/ITensorRegistry.git + ssh: ${{ secrets.DOCUMENTER_KEY }}