|
24 | 24 | with:
|
25 | 25 | app-id: ${{ vars.SUBTREE_APP_ID }}
|
26 | 26 | private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
|
| 27 | + owner: ${{ github.repository_owner }} |
27 | 28 | - uses: actions/checkout@v4
|
28 | 29 | with:
|
29 | 30 | token: ${{ steps.app-token.outputs.token }}
|
|
43 | 44 | with:
|
44 | 45 | app-id: ${{ vars.SUBTREE_APP_ID }}
|
45 | 46 | private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
|
| 47 | + owner: ${{ github.repository_owner }} |
46 | 48 | - uses: actions/checkout@v4
|
47 | 49 | with:
|
48 | 50 | token: ${{ steps.app-token.outputs.token }}
|
|
57 | 59 | name: Subtree for Plugin
|
58 | 60 | runs-on: ubuntu-latest
|
59 | 61 | 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 }} |
60 | 68 | - uses: actions/checkout@v4
|
61 | 69 | with:
|
62 |
| - token: ${{ secrets.SUBTREE_GITHUB_TOKEN }} |
| 70 | + token: ${{ steps.app-token.outputs.token }} |
63 | 71 | fetch-depth: 0
|
64 | 72 | - name: Subtree Split
|
65 | 73 | uses: ./.github/actions/subtree
|
@@ -111,9 +119,15 @@ jobs:
|
111 | 119 | - { folder: TomTom, repository: tomtom-provider }
|
112 | 120 | - { folder: Yandex, repository: yandex-provider }
|
113 | 121 | 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 }} |
114 | 128 | - uses: actions/checkout@v4
|
115 | 129 | with:
|
116 |
| - token: ${{ secrets.SUBTREE_GITHUB_TOKEN }} |
| 130 | + token: ${{ steps.app-token.outputs.token }} |
117 | 131 | fetch-depth: 0
|
118 | 132 | - name: Subtree Split
|
119 | 133 | uses: ./.github/actions/subtree
|
|
0 commit comments