Skip to content

Commit 01d57d5

Browse files
authored
Update subtree.yml (1)
1 parent 24ddd31 commit 01d57d5

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/subtree.yml

+16-2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
app-id: ${{ vars.SUBTREE_APP_ID }}
2626
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
27+
owner: ${{ github.repository_owner }}
2728
- uses: actions/checkout@v4
2829
with:
2930
token: ${{ steps.app-token.outputs.token }}
@@ -43,6 +44,7 @@ jobs:
4344
with:
4445
app-id: ${{ vars.SUBTREE_APP_ID }}
4546
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
47+
owner: ${{ github.repository_owner }}
4648
- uses: actions/checkout@v4
4749
with:
4850
token: ${{ steps.app-token.outputs.token }}
@@ -57,9 +59,15 @@ jobs:
5759
name: Subtree for Plugin
5860
runs-on: ubuntu-latest
5961
steps:
62+
- uses: actions/create-github-app-token@v1
63+
id: app-token
64+
with:
65+
app-id: ${{ vars.SUBTREE_APP_ID }}
66+
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
67+
owner: ${{ github.repository_owner }}
6068
- uses: actions/checkout@v4
6169
with:
62-
token: ${{ secrets.SUBTREE_GITHUB_TOKEN }}
70+
token: ${{ steps.app-token.outputs.token }}
6371
fetch-depth: 0
6472
- name: Subtree Split
6573
uses: ./.github/actions/subtree
@@ -111,9 +119,15 @@ jobs:
111119
- { folder: TomTom, repository: tomtom-provider }
112120
- { folder: Yandex, repository: yandex-provider }
113121
steps:
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 }}
114128
- uses: actions/checkout@v4
115129
with:
116-
token: ${{ secrets.SUBTREE_GITHUB_TOKEN }}
130+
token: ${{ steps.app-token.outputs.token }}
117131
fetch-depth: 0
118132
- name: Subtree Split
119133
uses: ./.github/actions/subtree

0 commit comments

Comments
 (0)