Skip to content

Commit

Permalink
Update subtree.yml (1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien authored Nov 24, 2024
1 parent 24ddd31 commit 01d57d5
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/subtree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
with:
app-id: ${{ vars.SUBTREE_APP_ID }}
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
Expand All @@ -43,6 +44,7 @@ jobs:
with:
app-id: ${{ vars.SUBTREE_APP_ID }}
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
Expand All @@ -57,9 +59,15 @@ jobs:
name: Subtree for Plugin
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.SUBTREE_APP_ID }}
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/checkout@v4
with:
token: ${{ secrets.SUBTREE_GITHUB_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
fetch-depth: 0
- name: Subtree Split
uses: ./.github/actions/subtree
Expand Down Expand Up @@ -111,9 +119,15 @@ jobs:
- { folder: TomTom, repository: tomtom-provider }
- { folder: Yandex, repository: yandex-provider }
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.SUBTREE_APP_ID }}
private-key: ${{ secrets.SUBTREE_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: actions/checkout@v4
with:
token: ${{ secrets.SUBTREE_GITHUB_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
fetch-depth: 0
- name: Subtree Split
uses: ./.github/actions/subtree
Expand Down

0 comments on commit 01d57d5

Please sign in to comment.