Skip to content

Commit 9982884

Browse files
committed
TESTING
1 parent 57b1218 commit 9982884

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/auto-spotless-part-2.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,30 +77,23 @@ jobs:
7777
git config user.name otelbot
7878
git config user.email [email protected]
7979
80-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
81-
if: steps.download-patch.outputs.exists == 'true'
82-
id: otelbot-token
83-
with:
84-
app-id: ${{ vars.OTELBOT_APP_ID }}
85-
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
86-
8780
- name: Apply patch and push
8881
if: steps.download-patch.outputs.exists == 'true'
8982
env:
90-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
83+
GH_TOKEN: ${{ github.token }}
9184
run: |
9285
git apply "${{ runner.temp }}/artifacts/patch"
9386
git commit -a -m "./gradlew spotlessApply"
9487
git push
9588
9689
- if: steps.download-patch.outputs.exists == 'true' && success()
9790
env:
98-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
91+
GH_TOKEN: ${{ github.token }}
9992
run: |
10093
gh pr comment ${{ steps.download-patch.outputs.pr-number }} --body "🔧 The result from \`./gradlew spotlessApply\` was committed to the PR branch."
10194
10295
- if: steps.download-patch.outputs.exists == 'true' && failure()
10396
env:
104-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
97+
GH_TOKEN: ${{ github.token }}
10598
run: |
10699
gh pr comment ${{ steps.download-patch.outputs.pr-number }} --body "❌ The result from \`./gradlew 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)