Skip to content

Commit 1729224

Browse files
committed
TESTING
1 parent bb0cfc6 commit 1729224

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
@@ -86,30 +86,23 @@ jobs:
8686
git config user.name otelbot
8787
git config user.email [email protected]
8888
89-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
90-
if: steps.download-patch.outputs.exists == 'true'
91-
id: otelbot-token
92-
with:
93-
app-id: ${{ vars.OTELBOT_APP_ID }}
94-
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
95-
9689
- name: Apply patch and push
9790
if: steps.download-patch.outputs.exists == 'true'
9891
env:
99-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
92+
GH_TOKEN: ${{ github.token }}
10093
run: |
10194
git apply "${{ runner.temp }}/artifacts/patch"
10295
git commit -a -m "./gradlew spotlessApply"
10396
git push
10497
10598
- if: steps.download-patch.outputs.exists == 'true' && success()
10699
env:
107-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
100+
GH_TOKEN: ${{ github.token }}
108101
run: |
109102
gh pr comment ${{ steps.get-pr-number.outputs.pr-number }} --body "🔧 The result from \`./gradlew spotlessApply\` was committed to the PR branch."
110103
111104
- if: steps.download-patch.outputs.exists == 'true' && failure()
112105
env:
113-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
106+
GH_TOKEN: ${{ github.token }}
114107
run: |
115108
gh pr comment ${{ steps.get-pr-number.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)