File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7+ workflow_dispatch :
78jobs :
89 test :
910 runs-on : ubuntu-latest
1819 echo "::set-output name=packagename::$PACKAGENAME"
1920 - name : Run `repository_dispatch` on updated repo, to trigger tagbot
2021 run : |
21- curl -X POST https://api.github.com/repos/HolyLab/${{ steps.pkg.outputs.packagename }}.jl/dispatches \
22- -H 'Accept: application/vnd.github.everest-preview+json' \
23- -u ${{ secrets.TAGBOT_PAT }} \
24- --data '{"event_type": "TriggerTagBot_${{ steps.pkg.outputs.packagename }}", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}'
22+ curl -L -X POST
23+ -H "Accept: application/vnd.github+json" \
24+ -H "Authorization: ${{ secrets.TAGBOT_PAT }}" \
25+ -H "X-GitHub-Api-Version: 2022-11-28" \
26+ https://api.github.com/repos/HolyLab/${{ steps.pkg.outputs.packagename }}.jl/dispatches \
27+ -d '{"event_type":"on-demand-test","client_payload":{"unit":false,"integration":true}}'
You can’t perform that action at this time.
0 commit comments