Skip to content

Commit 1fe1825

Browse files
committed
Update TagBot
1 parent 3c869aa commit 1fe1825

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/TagBot.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
name: TagBot
2-
on:
3-
schedule:
4-
- cron: 0 * * * *
5-
jobs:
6-
TagBot:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: JuliaRegistries/TagBot@v1
10-
with:
11-
token: ${{ secrets.GITHUB_TOKEN }}
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

0 commit comments

Comments
 (0)