mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix email null
This commit is contained in:
parent
671783a3c9
commit
8b869d2224
19
.github/workflows/issues.yml
vendored
19
.github/workflows/issues.yml
vendored
@ -189,7 +189,7 @@ jobs:
|
||||
echo "TTDLURL=${TTDLURL}" >> $GITHUB_ENV
|
||||
|
||||
- name: Send mail
|
||||
if: env.iscustom == 'true' && success()
|
||||
if: env.iscustom == 'true' && success() && env.EMAIL != 'null'
|
||||
uses: dawidd6/action-send-mail@v3
|
||||
with:
|
||||
server_address: smtp-mail.outlook.com
|
||||
@ -203,7 +203,7 @@ jobs:
|
||||
${{ env.TTDLURL }}
|
||||
|
||||
- name: Update Comment Success
|
||||
if: env.iscustom == 'true' && success()
|
||||
if: env.iscustom == 'true' && success() && env.EMAIL != 'null'
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: 'update-comment'
|
||||
@ -217,6 +217,21 @@ jobs:
|
||||
----
|
||||
emoji: hooray
|
||||
|
||||
- name: Update Comment Success
|
||||
if: env.iscustom == 'true' && success() && env.EMAIL == 'null'
|
||||
uses: actions-cool/issues-helper@v3
|
||||
with:
|
||||
actions: 'update-comment'
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
comment-id: ${{ steps.comment.outputs.comment-id }}
|
||||
update-mode: replace
|
||||
body: |
|
||||
Hi @${{ github.event.issue.user.login }}.
|
||||
${{ env.TTDLURL }}
|
||||
> ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
----
|
||||
emoji: hooray
|
||||
|
||||
- name: Update Comment Fail
|
||||
if: env.iscustom == 'true' && failure()
|
||||
uses: actions-cool/issues-helper@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user