Browse Source

Merge pull request #325 from AppFlowy-IO/fix_discord_notify

ci: fix notify
Nathan.fooo 3 years ago
parent
commit
f192406afd
1 changed files with 6 additions and 2 deletions
  1. 6 2
      .github/workflows/translation_notify.yml

+ 6 - 2
.github/workflows/translation_notify.yml

@@ -1,14 +1,18 @@
-name: Strings update
+name: Translation Notify
 on:
   push:
     branches: [ main ]
     paths:
       - "frontend/app_flowy/assets/translations/en.json"
+  pull_request:
+    branches: [ main ]
+    paths:
+      - "frontend/app_flowy/assets/translations/en.json"
 jobs:
   Discord-Notify:
     runs-on: ubuntu-latest
     steps:
-      - uses: Ilshidur/action-discord@master
+      - uses: Ilshidur/action-discord@0.3.2
         env:
           DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
         with: