Skip to content

Commit 4c21bba

Browse files
authored
Merge pull request #11 from HolyLab/massinstallaction/set-up-TagBot
MassInstallAction: Install the TagBot workflow on this repository
2 parents ce26740 + 0312f93 commit 4c21bba

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

.github/workflows/TagBot.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,35 @@
11
name: TagBot
22
on:
3+
issue_comment:
4+
types:
5+
- created
36
repository_dispatch:
47
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
524
jobs:
625
TagBot:
26+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' || (github.event_name == 'repository_dispatch' && github.event.client_payload.repository == 'HolyLab/HolyLabRegistry')
727
runs-on: ubuntu-latest
828
steps:
9-
- name: Event Information
10-
run: |
11-
echo "Event '${{ github.event.action }}' received from '${{ github.event.client_payload.repository }}'"
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 }}
16-
registry: HolyLab/HolyLabRegistry
17-
lookback: 300
34+
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
35+
registry: HolyLab/HolyLabRegistry

0 commit comments

Comments
 (0)