File tree Expand file tree Collapse file tree 2 files changed +36
-8
lines changed Expand file tree Collapse file tree 2 files changed +36
-8
lines changed Original file line number Diff line number Diff line change 33 schedule :
44 - cron : 0 0 * * *
55 workflow_dispatch :
6+ permissions :
7+ contents : write
8+ pull-requests : write
69jobs :
710 CompatHelper :
811 runs-on : ubuntu-latest
912 steps :
13+ - name : Check if Julia is already available in the PATH
14+ id : julia_in_path
15+ run : which julia
16+ continue-on-error : true
17+ - name : Install Julia, but only if it is not already available in the PATH
18+ uses : julia-actions/setup-julia@v1
19+ with :
20+ version : ' 1'
21+ arch : ${{ runner.arch }}
22+ if : steps.julia_in_path.outcome != 'success'
1023 - name : " Add the General registry via Git"
1124 run : |
12- using Pkg
25+ import Pkg
1326 ENV["JULIA_PKG_SERVER"] = ""
1427 Pkg.Registry.add("General")
15- Pkg.Registry.add(RegistrySpec(url="https://github.com/HolyLab/HolyLabRegistry.git"))
1628 shell : julia --color=yes {0}
1729 - name : " Install CompatHelper"
1830 run : |
Original file line number Diff line number Diff line change 11name : TagBot
22on :
3- repository_dispatch :
3+ issue_comment :
4+ types :
5+ - created
46 workflow_dispatch :
7+ inputs :
8+ lookback :
9+ default : 3
10+ permissions :
11+ actions : read
12+ checks : read
13+ contents : write
14+ deployments : read
15+ issues : read
16+ discussions : read
17+ packages : read
18+ pages : read
19+ pull-requests : read
20+ repository-projects : read
21+ security-events : read
22+ statuses : read
523jobs :
624 TagBot :
25+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
726 runs-on : ubuntu-latest
827 steps :
9- - name : Event Information
10- run : |
11- echo "Event '${{ github.event.action }}' received from '${{ github.event.client_payload.repository }}'"
1228 - uses : JuliaRegistries/TagBot@v1
1329 with :
1430 token : ${{ secrets.GITHUB_TOKEN }}
31+ # Edit the following line to reflect the actual name of the GitHub Secret containing your private key
1532 ssh : ${{ secrets.DOCUMENTER_KEY }}
16- registry : HolyLab/HolyLabRegistry
17- lookback : 300
33+ # ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
You can’t perform that action at this time.
0 commit comments