Skip to content

Commit fee693e

Browse files
committed
TEMP
1 parent a9949fa commit fee693e

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

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

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,10 @@ jobs:
3232
echo "exists=true" >> $GITHUB_OUTPUT
3333
fi
3434
35-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
36-
if: steps.unzip-patch.outputs.exists == 'true'
37-
id: otelbot-token
38-
with:
39-
app-id: 1295839
40-
private-key: ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY }}
41-
4235
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4336
if: steps.unzip-patch.outputs.exists == 'true'
4437
with:
45-
token: ${{ steps.otelbot-token.outputs.token }}
38+
token: ${{ github.token }}
4639

4740
- id: get-pr-number
4841
if: steps.unzip-patch.outputs.exists == 'true'
@@ -81,12 +74,12 @@ jobs:
8174
8275
- if: steps.unzip-patch.outputs.exists == 'true' && success()
8376
env:
84-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
77+
GH_TOKEN: ${{ github.token }}
8578
run: |
8679
gh pr comment ${{ steps.get-pr-number.outputs.pr-number }} --body "🔧 The result from spotlessApply was committed to the PR branch."
8780
8881
- if: steps.unzip-patch.outputs.exists == 'true' && failure()
8982
env:
90-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
83+
GH_TOKEN: ${{ github.token }}
9184
run: |
9285
gh pr comment ${{ steps.get-pr-number.outputs.pr-number }} --body "❌ The result from spotlessApply could not be committed to the PR branch, see logs: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID."

0 commit comments

Comments
 (0)