From 4e2bd6ba74e7717fc26819a32c122d3143c47ca8 Mon Sep 17 00:00:00 2001 From: appflowy Date: Thu, 10 Feb 2022 16:19:16 +0800 Subject: [PATCH] ci: fix notify --- .github/workflows/translation_notify.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/translation_notify.yml b/.github/workflows/translation_notify.yml index 4f742ec39b..8c12ccb0b8 100644 --- a/.github/workflows/translation_notify.yml +++ b/.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: