Skip to content

Commit b0c8b20

Browse files
committed
TESTING
1 parent 39c97b8 commit b0c8b20

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
@@ -84,30 +84,23 @@ jobs:
8484
git config user.name otelbot
8585
git config user.email [email protected]
8686
87-
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
88-
if: steps.download-patch.outputs.exists == 'true'
89-
id: otelbot-token
90-
with:
91-
app-id: ${{ vars.OTELBOT_APP_ID }}
92-
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
93-
9487
- name: Apply patch and push
9588
if: steps.download-patch.outputs.exists == 'true'
9689
env:
97-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
90+
GH_TOKEN: ${{ github.token }}
9891
run: |
9992
git apply "${{ runner.temp }}/artifacts/patch"
10093
git commit -a -m "./gradlew spotlessApply"
10194
git push
10295
10396
- if: steps.download-patch.outputs.exists == 'true' && success()
10497
env:
105-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
98+
GH_TOKEN: ${{ github.token }}
10699
run: |
107100
gh pr comment ${{ steps.get-pr-number.outputs.pr-number }} --body "🔧 The result from spotlessApply was committed to the PR branch."
108101
109102
- if: steps.download-patch.outputs.exists == 'true' && failure()
110103
env:
111-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
104+
GH_TOKEN: ${{ github.token }}
112105
run: |
113106
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)