Skip to content

Commit 7ba27b6

Browse files
authored
2 parents 4470400 + d120298 commit 7ba27b6

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/TagBot.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
name: TagBot
22
on:
3-
schedule:
4-
- cron: 0 0 * * *
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
default: "3"
510
jobs:
611
TagBot:
12+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
713
runs-on: ubuntu-latest
814
steps:
915
- uses: JuliaRegistries/TagBot@v1
1016
with:
1117
token: ${{ secrets.GITHUB_TOKEN }}
18+
# For commits that modify workflow files: SSH key enables tagging, but
19+
# releases require manual creation. For full automation of such commits,
20+
# use a PAT with `workflow` scope instead of GITHUB_TOKEN.
21+
# See: https://github.com/JuliaRegistries/TagBot#commits-that-modify-workflow-files
22+
ssh: ${{ secrets.DOCUMENTER_KEY }}
23+
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}

0 commit comments

Comments
 (0)