Skip to content

Commit 547e227

Browse files
committed
handle-pr-comment: stop hard-coding the SMTP user and host
These should be taken from the project config which is now expected to be present as the `CONFIG` repository variable. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent c9fccdf commit 547e227

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/handle-pr-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ jobs:
9191
pr-repo-token: ${{ steps.pr-repo-token.outputs.token }}
9292
upstream-repo-token: ${{ steps.upstream-repo-token.outputs.token }}
9393
test-repo-token: ${{ steps.test-repo-token.outputs.token }}
94-
smtp-host: smtp.gmail.com
95-
smtp-user: [email protected]
94+
smtp-host: '${{ fromJSON(vars.CONFIG).mail.smtpHost }}'
95+
smtp-user: '${{ fromJSON(vars.CONFIG).mail.smtpUser }}'
9696
smtp-pass: "${{ secrets.GITGITGADGET_SMTP_PASS }}"
9797
pr-comment-url: ${{ env.PR_COMMENT_URL }}
9898
- name: update the check run

0 commit comments

Comments
 (0)