File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 - id : generate-token
7575 uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
7676 with :
77- app -id : ${{ secrets.PR_GITHUB_APP_ID }}
77+ client -id : ${{ vars.PR_GITHUB_APP_CLIENT_ID }}
7878 private-key : ${{ secrets.PR_GITHUB_APP_PRIVATE_KEY }}
7979 owner : rolldown
8080 repositories : rolldown
@@ -300,7 +300,7 @@ jobs:
300300 - id : generate-token
301301 uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
302302 with :
303- app -id : ${{ secrets.PR_GITHUB_APP_ID }}
303+ client -id : ${{ vars.PR_GITHUB_APP_CLIENT_ID }}
304304 private-key : ${{ secrets.PR_GITHUB_APP_PRIVATE_KEY }}
305305 owner : rolldown
306306 repositories : rolldown
Original file line number Diff line number Diff line change 8282 - id : generate-token
8383 uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
8484 with :
85- app -id : ${{ secrets.PR_GITHUB_APP_ID }}
85+ client -id : ${{ vars.PR_GITHUB_APP_CLIENT_ID }}
8686 private-key : ${{ secrets.PR_GITHUB_APP_PRIVATE_KEY }}
8787 repositories : vite
8888 permission-pull-requests : write # to comment on the vite PR
@@ -228,7 +228,7 @@ jobs:
228228 - id : generate-token
229229 uses : actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
230230 with :
231- app -id : ${{ secrets.PR_GITHUB_APP_ID }}
231+ client -id : ${{ vars.PR_GITHUB_APP_CLIENT_ID }}
232232 private-key : ${{ secrets.PR_GITHUB_APP_PRIVATE_KEY }}
233233 repositories : |
234234 vite
Original file line number Diff line number Diff line change 13131 . Generate a private key. It can be generated on the same page with the App ID. The key will be downloaded when you generate it.
1414 ![ GitHub App private key] ( github_app_private_key.png )
1515
16- ## (2) Adding secrets to vitejs/vite and vitejs/vite-ecosystem-ci
16+ ## (2) Adding secrets / vars to vitejs/vite and vitejs/vite-ecosystem-ci
1717
1818- vitejs/vite
19- - ` ECOSYSTEM_CI_GITHUB_APP_ID ` : ID of the created GitHub App
20- - ` ECOSYSTEM_CI_GITHUB_APP_PRIVATE_KEY ` : the content of the private key of the created GitHub App
19+ - var ` ECOSYSTEM_CI_GITHUB_APP_CLIENT_ID ` : ID of the created GitHub App
20+ - secret ` ECOSYSTEM_CI_GITHUB_APP_PRIVATE_KEY ` : the content of the private key of the created GitHub App
2121- vitejs/vite-ecosystem-ci
22- - ` PR_GITHUB_APP_ID ` : ID of the created GitHub App
23- - ` PR_GITHUB_APP_PRIVATE_KEY ` : the content of the private key of the created GitHub App
22+ - var ` PR_GITHUB_APP_CLIENT_ID ` : Client ID of the created GitHub App
23+ - secret ` PR_GITHUB_APP_PRIVATE_KEY ` : the content of the private key of the created GitHub App
2424
2525## (3) Adding workflows to vitejs/vite
2626
You can’t perform that action at this time.
0 commit comments