Skip to content

Commit 9460a76

Browse files
committed
TEST
1 parent 1334330 commit 9460a76

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,19 +32,12 @@ 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: 1296620
40-
private-key: ${{ secrets.OTELBOT_JAVA_CONTRIB_PRIVATE_KEY }}
41-
4235
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4336
if: steps.unzip-patch.outputs.exists == 'true'
4437
with:
4538
repository: "${{ github.event.workflow_run.head_repository }}"
4639
ref: "${{ github.event.workflow_run.head_branch }}"
47-
token: ${{ steps.otelbot-token.outputs.token }}
40+
token: ${{ github.token }}
4841

4942
- name: Use CLA approved github bot
5043
if: steps.unzip-patch.outputs.exists == 'true'
@@ -80,12 +73,12 @@ jobs:
8073
8174
- if: steps.unzip-patch.outputs.exists == 'true' && success()
8275
env:
83-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
76+
GH_TOKEN: ${{ github.token }}
8477
run: |
8578
gh pr comment ${{ steps.get-pr.outputs.number }} --body "🔧 The result from spotlessApply was committed to the PR branch."
8679
8780
- if: steps.unzip-patch.outputs.exists == 'true' && failure()
8881
env:
89-
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
82+
GH_TOKEN: ${{ github.token }}
9083
run: |
9184
gh pr comment ${{ steps.get-pr.outputs.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)