mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 22:57:12 -04:00
Merge pull request #316 from dadyarri/add-automatic-notifications
Add automatic notifications
This commit is contained in:
commit
983fed16dc
2 changed files with 25 additions and 0 deletions
14
.github/workflows/notify_on_strings_update.yml
vendored
Normal file
14
.github/workflows/notify_on_strings_update.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Strings update
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
paths:
|
||||
- "frontend/app_flowy/assets/translations/en.json"
|
||||
jobs:
|
||||
# some way to send notification
|
||||
- name: Notify in Discord
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
with:
|
||||
args: '@appflowytranslators English UI strings has been updated.'
|
11
.github/workflows/release.yml
vendored
Normal file
11
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
name: Release landed
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
jobs:
|
||||
- name: Notify in Discord
|
||||
env:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
uses: Ilshidur/action-discord@master
|
||||
with:
|
||||
args: '${{ github.event.tag_name }} is out 🚀 ${{ github.event.url }}\n${{ github.event.body }}'
|
Loading…
Add table
Add a link
Reference in a new issue