Skip to content

Commit 884d86e

Browse files
committed
Update TagBot.yml
1 parent 5ef2961 commit 884d86e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/TagBot.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 * * * *
3+
issue_comment: # THIS BIT IS NEW
4+
types:
5+
- created
6+
workflow_dispatch:
57
jobs:
68
TagBot:
9+
# THIS 'if' LINE IS NEW
10+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
11+
# NOTHING BELOW HAS CHANGED
712
runs-on: ubuntu-latest
813
steps:
914
- uses: JuliaRegistries/TagBot@v1
1015
with:
1116
token: ${{ secrets.GITHUB_TOKEN }}
17+
ssh: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)