Skip to content

Commit a97f131

Browse files
authored
Use GitHub App client ID for project sync token
1 parent b7dee0b commit a97f131

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/add-to-project.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: add-to-project
88
# a repo secret.
99
#
1010
# Required configuration (already set on all 6 feeder repos):
11-
# vars.PROJECT_APP_ID = 3422407
11+
# vars.PROJECT_APP_CLIENT_ID = Iv23liL4dLxjYFwTNWKt
1212
# vars.PROJECT_OWNER = FastLED
1313
# vars.PROJECT_NUMBER = 1
1414
# secrets.PROJECT_APP_PRIVATE_KEY = <PEM contents>
@@ -30,13 +30,13 @@ permissions:
3030
jobs:
3131
add:
3232
runs-on: ubuntu-latest
33-
if: ${{ vars.PROJECT_APP_ID != '' && vars.PROJECT_OWNER != '' }}
33+
if: ${{ vars.PROJECT_APP_CLIENT_ID != '' && vars.PROJECT_OWNER != '' }}
3434
steps:
3535
- name: Generate App token
3636
id: app-token
37-
uses: actions/create-github-app-token@v1
37+
uses: actions/create-github-app-token@v3
3838
with:
39-
app-id: ${{ vars.PROJECT_APP_ID }}
39+
client-id: ${{ vars.PROJECT_APP_CLIENT_ID }}
4040
private-key: ${{ secrets.PROJECT_APP_PRIVATE_KEY }}
4141
owner: ${{ vars.PROJECT_OWNER }}
4242

0 commit comments

Comments
 (0)