Skip to content

Commit b111d8e

Browse files
committed
TESTING
1 parent 68d9589 commit b111d8e

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
@@ -76,30 +76,23 @@ jobs:
7676
git config user.name otelbot
7777
git config user.email [email protected]
7878
79-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
80-
if: steps.download-patch.outputs.exists == 'true'
81-
id: otelbot-token
82-
with:
83-
app-id: ${{ vars.OTELBOT_APP_ID }}
84-
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
85-
8679
- name: Apply patch and push
8780
if: steps.download-patch.outputs.exists == 'true'
8881
env:
89-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
82+
GH_TOKEN: ${{ github.token }}
9083
run: |
9184
git apply "${{ runner.temp }}/artifacts/patch"
9285
git commit -a -m "./gradlew spotlessApply"
9386
git push
9487
9588
- if: steps.download-patch.outputs.exists == 'true' && success()
9689
env:
97-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
90+
GH_TOKEN: ${{ github.token }}
9891
run: |
9992
gh pr comment ${{ steps.download-patch.outputs.pr-number }} --body "🔧 The result from \`./gradlew spotlessApply\` was committed to the PR branch."
10093
10194
- if: steps.download-patch.outputs.exists == 'true' && failure()
10295
env:
103-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
96+
GH_TOKEN: ${{ github.token }}
10497
run: |
10598
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)