|
19 | 19 | name: Subtree for Common |
20 | 20 | runs-on: ubuntu-latest |
21 | 21 | steps: |
| 22 | + - uses: actions/create-github-app-token@v1 |
| 23 | + id: app-token |
| 24 | + with: |
| 25 | + app-id: ${{ vars.SUBTREE_APP_ID }} |
| 26 | + private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }} |
| 27 | + owner: ${{ github.repository_owner }} |
22 | 28 | - uses: actions/checkout@v4 |
23 | 29 | with: |
24 | | - token: ${{ secrets.SUBTREE_GITHUB_TOKEN }} |
| 30 | + token: ${{ steps.app-token.outputs.token }} |
25 | 31 | fetch-depth: 0 |
26 | 32 | - name: Subtree Split |
27 | 33 | uses: ./.github/actions/subtree |
|
33 | 39 | name: Subtree for Http |
34 | 40 | runs-on: ubuntu-latest |
35 | 41 | steps: |
| 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 }} |
36 | 48 | - uses: actions/checkout@v4 |
37 | 49 | with: |
38 | | - token: ${{ secrets.SUBTREE_GITHUB_TOKEN }} |
| 50 | + token: ${{ steps.app-token.outputs.token }} |
39 | 51 | fetch-depth: 0 |
40 | 52 | - name: Subtree Split |
41 | 53 | uses: ./.github/actions/subtree |
|
47 | 59 | name: Subtree for Plugin |
48 | 60 | runs-on: ubuntu-latest |
49 | 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 }} |
50 | 68 | - uses: actions/checkout@v4 |
51 | 69 | with: |
52 | | - token: ${{ secrets.SUBTREE_GITHUB_TOKEN }} |
| 70 | + token: ${{ steps.app-token.outputs.token }} |
53 | 71 | fetch-depth: 0 |
54 | 72 | - name: Subtree Split |
55 | 73 | uses: ./.github/actions/subtree |
@@ -101,9 +119,15 @@ jobs: |
101 | 119 | - { folder: TomTom, repository: tomtom-provider } |
102 | 120 | - { folder: Yandex, repository: yandex-provider } |
103 | 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 }} |
104 | 128 | - uses: actions/checkout@v4 |
105 | 129 | with: |
106 | | - token: ${{ secrets.SUBTREE_GITHUB_TOKEN }} |
| 130 | + token: ${{ steps.app-token.outputs.token }} |
107 | 131 | fetch-depth: 0 |
108 | 132 | - name: Subtree Split |
109 | 133 | uses: ./.github/actions/subtree |
|
0 commit comments