From d120298e2c09a9b14928e8de6776e10554937515 Mon Sep 17 00:00:00 2001 From: jverzani Date: Tue, 16 Dec 2025 17:38:27 -0500 Subject: [PATCH] use https://github.com/JuliaRegistries/TagBot/blob/master/example.yml --- .github/workflows/TagBot.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index dd911f3..5cff3e5 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,11 +1,23 @@ name: TagBot on: - schedule: - - cron: 0 0 * * * + issue_comment: + types: + - created + workflow_dispatch: + inputs: + lookback: + default: "3" 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 }} + # For commits that modify workflow files: SSH key enables tagging, but + # releases require manual creation. For full automation of such commits, + # use a PAT with `workflow` scope instead of GITHUB_TOKEN. + # See: https://github.com/JuliaRegistries/TagBot#commits-that-modify-workflow-files + ssh: ${{ secrets.DOCUMENTER_KEY }} + # ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}