From a2c6d72a33ebb9dd8d5944d60b47b203125f5d2d Mon Sep 17 00:00:00 2001
From: pylat
Date: Tue, 22 Jun 2021 10:53:47 +0200
Subject: [PATCH] update tagbot
---
.github/workflows/TagBot.yml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml
index 764788b..393e1bb 100644
--- a/.github/workflows/TagBot.yml
+++ b/.github/workflows/TagBot.yml
@@ -1,11 +1,13 @@
name: TagBot
on:
- schedule:
- - cron: 0 12 * * *
+ issue_comment:
+ types:
+ - created
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 }}
+ token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file