2020-02-06 19:06:54 +00:00
name : Translation Notifier
2020-07-30 11:30:20 +00:00
on :
2020-02-06 19:06:54 +00:00
push :
branches :
- master
paths :
2021-04-23 18:48:24 +00:00
- 'src/main/resources/languages/en/**.yml'
2020-07-30 11:30:20 +00:00
2020-02-06 19:06:54 +00:00
jobs :
notify :
2020-07-30 11:30:20 +00:00
2020-02-06 19:06:54 +00:00
name : Translation-Notifier
runs-on : ubuntu-latest
2020-09-06 15:19:17 +00:00
if : github.repository == 'Slimefun/Slimefun4'
2020-07-30 11:30:20 +00:00
2020-02-06 19:06:54 +00:00
steps :
- name : Discord Notification
uses : Ilshidur/action-discord@master
with :
2021-05-05 16:26:27 +00:00
args : '<@&665202905271369776> New strings have been added to Slimefun4' 's language files. You can translate them at https://crowdin.com/project/slimefun'
2020-02-06 19:06:54 +00:00
env :
DISCORD_WEBHOOK : ${{ secrets.TRANSLATOR_WEBHOOK }}