Skip to content

Commit 87331f0

Browse files
authored
Update TagBot to use issue comment triggers
1 parent 64c96bf commit 87331f0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/TagBot.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
name: TagBot
22

33
on:
4-
schedule:
5-
- cron: 00 11 * * *
4+
issue_comment:
5+
types:
6+
- created
7+
workflow_dispatch:
8+
inputs:
9+
lookback:
10+
default: "3"
611

712
jobs:
813
TagBot:
14+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
915
runs-on: ubuntu-latest
1016
steps:
1117
- uses: JuliaRegistries/TagBot@v1
1218
with:
13-
token: ${{ secrets.GITHUB_TOKEN }}
14-
ssh: ${{ secrets.DOCUMENTER_KEY }}
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
ssh: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)