Skip to content

Commit ae8feeb

Browse files
authored
Update otelbot token workflows to use client IDs (#5404)
1 parent 67a2abd commit ae8feeb

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
# NOTE: do NOT add an actions/checkout step here. This workflow uses
1717
# pull_request_target (which has access to secrets) but must never
1818
# execute code from the fork branch. See PR #4955 for context.
19-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
19+
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
2020
id: otelbot-token
2121
with:
22-
app-id: ${{ vars.OTELBOT_PYTHON_APP_ID }}
22+
client-id: ${{ vars.OTELBOT_PYTHON_CLIENT_ID }}
2323
private-key: ${{ secrets.OTELBOT_PYTHON_PRIVATE_KEY }}
2424

2525
- uses: actions/add-to-project@v1.0.2

.github/workflows/backport.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
- name: Use CLA approved github bot
3030
run: .github/scripts/use-cla-approved-github-bot.sh
3131

32-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
32+
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
3333
id: otelbot-token
3434
with:
35-
app-id: ${{ vars.OTELBOT_APP_ID }}
35+
client-id: ${{ vars.OTELBOT_CLIENT_ID }}
3636
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
3737

3838
- name: Create pull request

.github/workflows/prepare-patch-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ jobs:
6363
- name: Use CLA approved github bot
6464
run: .github/scripts/use-cla-approved-github-bot.sh
6565

66-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
66+
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
6767
id: otelbot-token
6868
with:
69-
app-id: ${{ vars.OTELBOT_APP_ID }}
69+
client-id: ${{ vars.OTELBOT_CLIENT_ID }}
7070
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
7171

7272
- name: Create pull request

.github/workflows/prepare-release-branch.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ jobs:
8989
- name: Use CLA approved github bot
9090
run: .github/scripts/use-cla-approved-github-bot.sh
9191

92-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
92+
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
9393
id: otelbot-token
9494
with:
95-
app-id: ${{ vars.OTELBOT_APP_ID }}
95+
client-id: ${{ vars.OTELBOT_CLIENT_ID }}
9696
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
9797

9898
- name: Create pull request against the release branch
@@ -183,10 +183,10 @@ jobs:
183183
- name: Use CLA approved github bot
184184
run: .github/scripts/use-cla-approved-github-bot.sh
185185

186-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
186+
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
187187
id: otelbot-token
188188
with:
189-
app-id: ${{ vars.OTELBOT_APP_ID }}
189+
client-id: ${{ vars.OTELBOT_CLIENT_ID }}
190190
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
191191

192192
- name: Create pull request against main

0 commit comments

Comments
 (0)