Skip to content

Commit 7525b0b

Browse files
authored
Merge pull request #3 from HolyLab/massinstallaction/set-up-TagBot
MassInstallAction: Install the TagBot workflow on this repository
2 parents 817eeb9 + bd2fa48 commit 7525b0b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/TagBot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
issue_comment:
44
types:
55
- created
6+
repository_dispatch:
67
workflow_dispatch:
78
inputs:
89
lookback:
@@ -22,10 +23,13 @@ permissions:
2223
statuses: read
2324
jobs:
2425
TagBot:
25-
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
26+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' || (github.event_name == 'repository_dispatch' && github.event.client_payload.repository == 'HolyLab/HolyLabRegistry')
2627
runs-on: ubuntu-latest
2728
steps:
2829
- uses: JuliaRegistries/TagBot@v1
2930
with:
3031
token: ${{ secrets.GITHUB_TOKEN }}
32+
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
3133
ssh: ${{ secrets.DOCUMENTER_KEY }}
34+
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
35+
registry: HolyLab/HolyLabRegistry

0 commit comments

Comments
 (0)