Skip to content

Commit 4c70097

Browse files
authored
fix: Treat FORWARD_EMAIL as secret (#2)
1 parent 9db53b4 commit 4c70097

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
SENDER_NAME=ReVanced
1+
SENDER_NAME=Your name
22
SENDER_EMAIL=[email protected]
3-
FORWARD_EMAIL=[email protected]
3+
FORWARD_EMAIL=[email protected] # In production, set as a Wrangler secret.
44
REPLY_TO_EMAIL=[email protected]
55
BOUNCE_MAIL_SUBJECT=Your email was rejected
66
BOUNCE_MAIL_BODY=Your email was rejected because it did not include a specific secret in the subject or body. The secret ensures that you have read and followed our email policy. You can find the email policy and the secret in the place where you saw this email address.

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
env:
3636
SENDER_NAME: ${{ vars.SENDER_NAME }}
3737
SENDER_EMAIL: ${{ vars.SENDER_EMAIL }}
38-
FORWARD_EMAIL: ${{ vars.FORWARD_EMAIL }}
38+
FORWARD_EMAIL: ${{ secrets.FORWARD_EMAIL }}
3939
REPLY_TO_EMAIL: ${{ vars.REPLY_TO_EMAIL }}
4040
BOUNCE_MAIL_SUBJECT: ${{ vars.BOUNCE_MAIL_SUBJECT }}
4141
BOUNCE_MAIL_BODY: ${{ vars.BOUNCE_MAIL_BODY }}

0 commit comments

Comments
 (0)