Skip to content

Commit

Permalink
Update subtree.yml
Browse files Browse the repository at this point in the history
Switch Personal Access Token (PAT) to GitHub App token.
  • Loading branch information
jbelien authored Nov 24, 2024
1 parent 96eb6cd commit 24ddd31
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/subtree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,14 @@ jobs:
name: Subtree for Common
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 }}
- 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 All @@ -33,9 +38,14 @@ jobs:
name: Subtree for Http
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 }}
- 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 24ddd31

Please sign in to comment.