Skip to content

Commit 82143d3

Browse files
committed
Use GitHub App client ID for project sync token
1 parent b85edbc commit 82143d3

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>
@@ -36,14 +36,14 @@ permissions:
3636
jobs:
3737
add:
3838
runs-on: ubuntu-latest
39-
if: ${{ vars.PROJECT_APP_ID != '' && vars.PROJECT_OWNER != '' }}
39+
if: ${{ vars.PROJECT_APP_CLIENT_ID != '' && vars.PROJECT_OWNER != '' }}
4040
steps:
4141
- name: Generate App token
4242
id: app-token
4343
continue-on-error: true
44-
uses: actions/create-github-app-token@v1
44+
uses: actions/create-github-app-token@v3
4545
with:
46-
app-id: ${{ vars.PROJECT_APP_ID }}
46+
client-id: ${{ vars.PROJECT_APP_CLIENT_ID }}
4747
private-key: ${{ secrets.PROJECT_APP_PRIVATE_KEY }}
4848
owner: ${{ vars.PROJECT_OWNER }}
4949

0 commit comments

Comments
 (0)