Skip to content

Commit 1726caa

Browse files
authored
Merge pull request #31 from HolyLab/massinstallaction/set-up-TagBot
MassInstallAction: Install the TagBot workflow on this repository
2 parents a5f2349 + ec47ba4 commit 1726caa

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/TagBot.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,33 @@ on:
33
issue_comment:
44
types:
55
- created
6+
repository_dispatch:
67
workflow_dispatch:
8+
inputs:
9+
lookback:
10+
default: 3
11+
permissions:
12+
actions: read
13+
checks: read
14+
contents: write
15+
deployments: read
16+
issues: read
17+
discussions: read
18+
packages: read
19+
pages: read
20+
pull-requests: read
21+
repository-projects: read
22+
security-events: read
23+
statuses: read
724
jobs:
825
TagBot:
9-
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')
1027
runs-on: ubuntu-latest
1128
steps:
1229
- uses: JuliaRegistries/TagBot@v1
1330
with:
1431
token: ${{ secrets.GITHUB_TOKEN }}
32+
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
1533
ssh: ${{ secrets.DOCUMENTER_KEY }}
34+
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
35+
registry: HolyLab/HolyLabRegistry

0 commit comments

Comments
 (0)