Skip to content

Commit 0aee710

Browse files
authored
ci: migrate to official app token action (#375)
1 parent 75df271 commit 0aee710

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Diff for: .github/workflows/ecosystem-ci-from-pr.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ jobs:
7979
permissions: {}
8080
steps:
8181
- id: generate-token
82-
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0
82+
uses: actions/create-github-app-token@v1
8383
with:
84-
app_id: ${{ secrets.PR_GITHUB_APP_ID }}
85-
installation_retrieval_payload: "${{ github.repository_owner }}/vite"
86-
private_key: ${{ secrets.PR_GITHUB_APP_PRIVATE_KEY }}
84+
app-id: ${{ secrets.PR_GITHUB_APP_ID }}
85+
private-key: ${{ secrets.PR_GITHUB_APP_PRIVATE_KEY }}
86+
repositories: vite
8787
- id: create-comment
8888
uses: actions/github-script@v7
8989
with:
@@ -213,11 +213,13 @@ jobs:
213213
permissions: {}
214214
steps:
215215
- id: generate-token
216-
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a #v2.1.0
216+
uses: actions/create-github-app-token@v1
217217
with:
218-
app_id: ${{ secrets.PR_GITHUB_APP_ID }}
219-
installation_retrieval_payload: "${{ github.repository_owner }}/vite"
220-
private_key: ${{ secrets.PR_GITHUB_APP_PRIVATE_KEY }}
218+
app-id: ${{ secrets.PR_GITHUB_APP_ID }}
219+
private-key: ${{ secrets.PR_GITHUB_APP_PRIVATE_KEY }}
220+
repositories: |
221+
vite
222+
vite-ecosystem-ci
221223
- uses: actions/github-script@v7
222224
with:
223225
github-token: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)