From 1b2c27bd13120cfbf8a4b1d9eb2db17b1fc5e568 Mon Sep 17 00:00:00 2001 From: Takuya Kitazawa Date: Mon, 14 Feb 2022 07:18:59 -0800 Subject: [PATCH] Trigger TagBot by comment instead of cron https://discourse.julialang.org/t/ann-required-updates-to-tagbot-yml/49249 --- .github/workflows/TagBot.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index f8fd014..f49313b 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,9 +1,12 @@ name: TagBot on: - schedule: - - cron: 0 * * * * + issue_comment: + types: + - created + workflow_dispatch: jobs: TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' runs-on: ubuntu-latest steps: - uses: JuliaRegistries/TagBot@v1