From cf79bbc156389858f20b9f9f88c6fc12ec1f390c Mon Sep 17 00:00:00 2001 From: Andrei Zhabinski Date: Mon, 25 Jul 2022 16:11:11 +0300 Subject: [PATCH] Update TagBot.yml Update TagBot settings --- .github/workflows/TagBot.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 4646c2c..f389611 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,11 +1,20 @@ name: TagBot on: - schedule: - - cron: 07 14 * * * + issue_comment: + types: + - created + workflow_dispatch: + inputs: + lookback: + default: 3 +permissions: + contents: write 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 }}