From 67ecf8cacc9d7e184da435e142e8e24c6ef5c9e4 Mon Sep 17 00:00:00 2001 From: Rafael Fourquet Date: Mon, 2 Nov 2020 14:41:47 +0100 Subject: [PATCH] update TagBot.yml Cf. https://discourse.julialang.org/t/ann-required-updates-to-tagbot-yml/49249. --- .github/workflows/TagBot.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index d77d3a0c36..f49313b662 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,11 +1,15 @@ 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 with: token: ${{ secrets.GITHUB_TOKEN }} + ssh: ${{ secrets.DOCUMENTER_KEY }}