1919 name : Subtree for Common
2020 runs-on : ubuntu-latest
2121 steps :
22- - uses : actions/checkout@v3
22+ - uses : actions/create-github-app-token@v1
23+ id : app-token
2324 with :
24- token : ${{ secrets.SUBTREE_GITHUB_TOKEN }}
25+ app-id : ${{ vars.SUBTREE_APP_ID }}
26+ private-key : ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
27+ owner : ${{ github.repository_owner }}
28+ - uses : actions/checkout@v4
29+ with :
30+ token : ${{ steps.app-token.outputs.token }}
2531 fetch-depth : 0
2632 - name : Subtree Split
2733 uses : ./.github/actions/subtree
3339 name : Subtree for Http
3440 runs-on : ubuntu-latest
3541 steps :
36- - uses : actions/checkout@v3
42+ - uses : actions/create-github-app-token@v1
43+ id : app-token
44+ with :
45+ app-id : ${{ vars.SUBTREE_APP_ID }}
46+ private-key : ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
47+ owner : ${{ github.repository_owner }}
48+ - uses : actions/checkout@v4
3749 with :
38- token : ${{ secrets.SUBTREE_GITHUB_TOKEN }}
50+ token : ${{ steps.app-token.outputs.token }}
3951 fetch-depth : 0
4052 - name : Subtree Split
4153 uses : ./.github/actions/subtree
4759 name : Subtree for Plugin
4860 runs-on : ubuntu-latest
4961 steps :
50- - uses : actions/checkout@v3
62+ - uses : actions/create-github-app-token@v1
63+ id : app-token
5164 with :
52- token : ${{ secrets.SUBTREE_GITHUB_TOKEN }}
65+ app-id : ${{ vars.SUBTREE_APP_ID }}
66+ private-key : ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
67+ owner : ${{ github.repository_owner }}
68+ - uses : actions/checkout@v4
69+ with :
70+ token : ${{ steps.app-token.outputs.token }}
5371 fetch-depth : 0
5472 - name : Subtree Split
5573 uses : ./.github/actions/subtree
82100 - { folder: Here, repository: here-provider }
83101 - { folder: HostIp, repository: host-ip-provider }
84102 - { folder: IP2Location, repository: ip2location-provider }
85- # - { folder: IP2LocationBinary, repository: ip2location-binary-provider }
103+ - { folder: IP2LocationBinary, repository: ip2location-binary-provider }
86104 - { folder: IpInfo, repository: ip-info-provider }
87105 - { folder: IpInfoDb, repository: ip-info-db-provider }
88106 - { folder: Ipstack, repository: ipstack-provider }
@@ -101,9 +119,15 @@ jobs:
101119 - { folder: TomTom, repository: tomtom-provider }
102120 - { folder: Yandex, repository: yandex-provider }
103121 steps :
104- - uses : actions/checkout@v3
122+ - uses : actions/create-github-app-token@v1
123+ id : app-token
124+ with :
125+ app-id : ${{ vars.SUBTREE_APP_ID }}
126+ private-key : ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
127+ owner : ${{ github.repository_owner }}
128+ - uses : actions/checkout@v4
105129 with :
106- token : ${{ secrets.SUBTREE_GITHUB_TOKEN }}
130+ token : ${{ steps.app-token.outputs.token }}
107131 fetch-depth : 0
108132 - name : Subtree Split
109133 uses : ./.github/actions/subtree
0 commit comments