From 9dbfc9e7631ffa03b3fafa34f436cef6a1820a8a Mon Sep 17 00:00:00 2001 From: Tanmay Mohapatra Date: Sun, 22 Oct 2023 20:02:10 +0530 Subject: [PATCH] Update TagBot.yml Update TagBot config to add permissions and correct trigger conditions --- .github/workflows/TagBot.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 067a89d..77f7ff4 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: +permissions: + contents: write jobs: TagBot: runs-on: ubuntu-latest steps: - uses: JuliaRegistries/TagBot@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }}