Skip to content

Commit fba8b11

Browse files
committed
retrigger workflow
1 parent 787a9dd commit fba8b11

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/auto-spotless-apply.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,17 @@ jobs:
6363
working-directory: ${{ runner.temp }}/artifacts
6464
run: unzip patch.zip
6565

66+
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
67+
if: steps.download-patch.outputs.exists == 'true'
68+
id: otelbot-token
69+
with:
70+
app-id: 1295839
71+
private-key: ${{ secrets.OTELBOT_JAVA_CONTRIB_PRIVATE_KEY }}
72+
6673
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6774
if: steps.download-patch.outputs.exists == 'true'
75+
with:
76+
token: ${{ steps.otelbot-token.outputs.token }}
6877

6978
- name: Check out PR branch
7079
if: steps.download-patch.outputs.exists == 'true'
@@ -80,17 +89,8 @@ jobs:
8089
git config user.name otelbot
8190
git config user.email [email protected]
8291
83-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
84-
if: steps.download-patch.outputs.exists == 'true'
85-
id: otelbot-token
86-
with:
87-
app-id: ${{ vars.OTELBOT_APP_ID }}
88-
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
89-
9092
- name: Apply patch and push
9193
if: steps.download-patch.outputs.exists == 'true'
92-
env:
93-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
9494
run: |
9595
git apply "${{ runner.temp }}/artifacts/patch"
9696
git commit -a -m "./gradlew spotlessApply"

0 commit comments

Comments
 (0)