Skip to content

Commit a1149e4

Browse files
committed
update token
1 parent 542e2a9 commit a1149e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/survey-on-merged-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333
echo "MEMBER_FOUND=false" >> $GITHUB_ENV
3434
fi
3535
env:
36-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}
3737

3838
- name: Add comment to PR if author is not a member
3939
if: env.MEMBER_FOUND == 'false'
4040
run: |
4141
USERNAME=$(jq -r '.pull_request.user.login' "$GITHUB_EVENT_PATH")
4242
gh pr comment ${PR_NUM} --repo open-telemetry/opentelemetry-java-instrumentation --body "Thank you for your contribution @${USERNAME}! 🎉 We would like to hear from you about your experience contributing to OpenTelemetry by taking a few minutes to fill out this [survey](${SURVEY_URL})."
4343
env:
44-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
GH_TOKEN: ${{ steps.otelbot-token.outputs.token }}

0 commit comments

Comments
 (0)