]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: Make "Send mail" only execute in original repo
authorChase <44284917+TotallyNotChase@users.noreply.github.com>
Sun, 4 Oct 2020 16:38:39 +0000 (00:38 +0800)
committerChase <44284917+TotallyNotChase@users.noreply.github.com>
Sun, 4 Oct 2020 16:38:39 +0000 (00:38 +0800)
.github/workflows/coverage.yml

index 8cfa34f789ca59989bfdfc0e5e9e0d5979badb95..b144d019cbc8fab5f1327c9ff9e5605923a4a306 100644 (file)
@@ -116,4 +116,5 @@ jobs:
         body: file://diff.html
         to: ${{ github.event.repository.owner.email }},${{ github.event.pusher.email }}
         from: Gwion Coverage action
-        content_type: text/html
\ No newline at end of file
+        content_type: text/html
+      if: ${{ github.repository_owner == 'fennecdjay' }}
\ No newline at end of file