Skip to content

Commit b4a9518

Browse files
committed
Use the client-id, instead of app-id
1 parent b0a6ad6 commit b4a9518

5 files changed

Lines changed: 11 additions & 16 deletions

File tree

.github/workflows/cpp-packaging.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -887,8 +887,7 @@ jobs:
887887
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # ratchet:actions/create-github-app-token@v1
888888
id: generate-token
889889
with:
890-
# we should migrate to client-id
891-
app-id: ${{ secrets.WORKFLOW_TRIGGER_APP_ID }}
890+
client-id: ${{ secrets.WORKFLOW_TRIGGER_CLIENT_ID }}
892891
private-key: ${{ secrets.WORKFLOW_TRIGGER_APP_PRIVATE_KEY }}
893892
permission-actions: write
894893
- name: Use GitHub API to start workflow
@@ -956,8 +955,7 @@ jobs:
956955
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # ratchet:actions/create-github-app-token@v1
957956
id: generate-token
958957
with:
959-
# we should migrate to client-id
960-
app-id: ${{ secrets.WORKFLOW_TRIGGER_APP_ID }}
958+
client-id: ${{ secrets.WORKFLOW_TRIGGER_CLIENT_ID }}
961959
private-key: ${{ secrets.WORKFLOW_TRIGGER_APP_PRIVATE_KEY }}
962960
permission-actions: write
963961
- name: Retry failed tests

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,8 +1526,7 @@ jobs:
15261526
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # ratchet:actions/create-github-app-token@v1
15271527
id: generate-token
15281528
with:
1529-
# we should migrate to client-id
1530-
app-id: ${{ secrets.WORKFLOW_TRIGGER_APP_ID }}
1529+
client-id: ${{ secrets.WORKFLOW_TRIGGER_CLIENT_ID }}
15311530
private-key: ${{ secrets.WORKFLOW_TRIGGER_APP_PRIVATE_KEY }}
15321531
permission-pull-requests: write
15331532
- name: Update PR label and comment
@@ -1601,8 +1600,7 @@ jobs:
16011600
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # ratchet:actions/create-github-app-token@v1
16021601
id: generate-token
16031602
with:
1604-
# we should migrate to client-id
1605-
app-id: ${{ secrets.WORKFLOW_TRIGGER_APP_ID }}
1603+
client-id: ${{ secrets.WORKFLOW_TRIGGER_CLIENT_ID }}
16061604
private-key: ${{ secrets.WORKFLOW_TRIGGER_APP_PRIVATE_KEY }}
16071605
permission-actions: write
16081606
- name: Retry failed tests

.github/workflows/retry-test-failures.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # ratchet:actions/create-github-app-token@v1
1717
id: generate-token
1818
with:
19-
# we should migrate to client-id
20-
app-id: ${{ secrets.WORKFLOW_TRIGGER_APP_ID }}
19+
client-id: ${{ secrets.WORKFLOW_TRIGGER_CLIENT_ID }}
2120
private-key: ${{ secrets.WORKFLOW_TRIGGER_APP_PRIVATE_KEY }}
2221
permission-actions: write
2322

.github/workflows/update-dependencies.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ jobs:
3030
runs-on: macos-15
3131
steps:
3232
- name: Get token for firebase-workflow-trigger
33-
uses: tibdex/github-app-token@v1
33+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # ratchet:actions/create-github-app-token@v1
3434
id: generate-token
3535
with:
36-
# we should migrate to client-id
37-
app_id: ${{ secrets.WORKFLOW_TRIGGER_APP_ID }}
38-
private_key: ${{ secrets.WORKFLOW_TRIGGER_APP_PRIVATE_KEY }}
36+
client-id: ${{ secrets.WORKFLOW_TRIGGER_CLIENT_ID }}
37+
private-key: ${{ secrets.WORKFLOW_TRIGGER_APP_PRIVATE_KEY }}
38+
permission-contents: write
39+
permission-pull-requests: write
3940

4041
- name: Setup python
4142
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # ratchet:actions/setup-python@v4

.github/workflows/update-feature-branches.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ jobs:
7777
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # ratchet:actions/create-github-app-token@v1
7878
id: generate-token
7979
with:
80-
# we should migrate to client-id
81-
app-id: ${{ secrets.WORKFLOW_TRIGGER_APP_ID }}
80+
client-id: ${{ secrets.WORKFLOW_TRIGGER_CLIENT_ID }}
8281
private-key: ${{ secrets.WORKFLOW_TRIGGER_APP_PRIVATE_KEY }}
8382
permission-contents: write
8483
permission-pull-requests: write

0 commit comments

Comments
 (0)