Skip to content

Commit b7a25ef

Browse files
committed
okay we need the PAT
1 parent f45f3e8 commit b7a25ef

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docs-preview-create.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,21 @@ jobs:
4545
if: steps.push.outcome == 'success'
4646
uses: peter-evans/find-comment@v3
4747
with:
48+
token: ${{ secrets.COMMENTER_TOKEN }}
4849
repository: ${{ github.event.client_payload.repo }}
4950
issue-number: ${{ github.event.client_payload.pr }}
5051
comment-author: 'github-actions[bot]'
5152
body-includes: Build output
5253

5354
- name: Create comment
54-
# if: steps.fc.outputs.comment-id == ''
55+
if: steps.fc.outputs.comment-id == ''
5556
uses: peter-evans/create-or-update-comment@v4
5657
with:
58+
token: ${{ secrets.COMMENTER_TOKEN }}
5759
repository: ${{ github.event.client_payload.repo }}
5860
issue-number: ${{ github.event.client_payload.pr }}
5961
body: |
60-
Preview deployment: https://svelte-dev-git-${{ env.SLUG }}-svelte.vercel.app/
62+
preview: https://svelte-dev-git-${{ env.SLUG }}-svelte.vercel.app/
63+
64+
_this is an automated message_
6165
edit-mode: replace

0 commit comments

Comments
 (0)