Skip to content

Commit d26d0f2

Browse files
authored
Update TagBot.yml
1 parent 4733a47 commit d26d0f2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/TagBot.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
21
name: TagBot
32
on:
4-
schedule:
5-
- cron: 0 * * * *
3+
issue_comment: # THIS BIT IS NEW
4+
types:
5+
- created
6+
workflow_dispatch:
67
jobs:
78
TagBot:
9+
# THIS 'if' LINE IS NEW
10+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
11+
# NOTHING BELOW HAS CHANGED
812
runs-on: ubuntu-latest
913
steps:
1014
- uses: JuliaRegistries/TagBot@v1
1115
with:
1216
token: ${{ secrets.GITHUB_TOKEN }}
17+
ssh: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)