File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,18 +26,23 @@ jobs:
2626 fetch-depth : 0
2727 submodules : true
2828 - name : Checkout ci-tools
29+ if : github.repository != 'TokTok/ci-tools'
2930 uses : actions/checkout@v4
3031 with :
3132 repository : TokTok/ci-tools
32- path : ci-tools
33+ path : third_party/ci-tools
34+ submodules : true
35+ - name : Link ci-tools
36+ if : github.repository == 'TokTok/ci-tools'
37+ run : ln -s .. third_party/ci-tools
3338 - name : Create GitHub actions identity
34- run : ci-tools/tools/use_github_actions_identity.sh
39+ run : third_party/ ci-tools/tools/use_github_actions_identity.sh
3540 - name : Set up git upstream remote
36- run : ci-tools/tools/add_upstream_remote.sh
41+ run : third_party/ ci-tools/tools/add_upstream_remote.sh
3742 - name : Import developer keys
38- run : ci-tools/tools/import_developer_keys.sh
43+ run : third_party/ ci-tools/tools/import_developer_keys.sh
3944 - name : Create release
40- run : ci-tools/tools/create_release.py
45+ run : third_party/ ci-tools/tools/create_release.py
4146 --github-actions
4247 --upstream=origin
4348 --issue=${{ github.event.issue.number }}
You can’t perform that action at this time.
0 commit comments