File tree 1 file changed +23
-2
lines changed
1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 1
1
name : TagBot
2
2
on :
3
+ issue_comment :
4
+ types :
5
+ - created
3
6
repository_dispatch :
4
7
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
5
24
jobs :
6
25
TagBot :
26
+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' || (github.event_name == 'repository_dispatch' && github.event.client_payload.repository == 'HolyLab/HolyLabRegistry')
7
27
runs-on : ubuntu-latest
8
28
steps :
9
29
- name : Event Information
10
30
run : |
11
- echo "Event '${{ github.event.action }}' received from '${{ github.event.client_payload.repository }}'"
31
+ echo "Event '${{ github.event_name }}' received from '${{ github.event.client_payload.repository }}'"
12
32
- uses : JuliaRegistries/TagBot@v1
13
33
with :
14
34
token : ${{ secrets.GITHUB_TOKEN }}
35
+ # Edit the following line to reflect the actual name of the GitHub Secret containing your private key
15
36
ssh : ${{ secrets.DOCUMENTER_KEY }}
37
+ # ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
16
38
registry : HolyLab/HolyLabRegistry
17
- lookback : 300
You can’t perform that action at this time.
0 commit comments