Skip to content

Commit 15a7bf3

Browse files
committed
another fix
1 parent 101d40c commit 15a7bf3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/update-otel-deps.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,17 @@ permissions:
99
jobs:
1010
create-or-update-deps-pr:
1111
runs-on: ubuntu-latest
12-
permissions:
13-
contents: write # required for pushing changes
1412
steps:
13+
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
14+
id: otelbot-token
15+
with:
16+
app-id: ${{ vars.OTELBOT_JS_CONTRIB_APP_ID }}
17+
private-key: ${{ secrets.OTELBOT_JS_CONTRIB_PRIVATE_KEY }}
18+
1519
- name: Checkout
1620
uses: actions/checkout@v5
21+
with:
22+
token: ${{ steps.otelbot-token.outputs.token }}
1723

1824
- uses: actions/setup-node@v4
1925
with:
@@ -25,12 +31,6 @@ jobs:
2531

2632
- run: npm ci
2733

28-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
29-
id: otelbot-token
30-
with:
31-
app-id: ${{ vars.OTELBOT_JS_CONTRIB_APP_ID }}
32-
private-key: ${{ secrets.OTELBOT_JS_CONTRIB_PRIVATE_KEY }}
33-
3434
- name: Create/Update Release PR
3535
run: |
3636
git config user.name otelbot

0 commit comments

Comments
 (0)