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:
|
|
|
|
- '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:
|
2020-06-24 22:21:43 +00:00
|
|
|
args: '<@&665202905271369776> Slimefun4''s language files were changed and require to be updated! https://gitlocalize.com/repo/3841'
|
2020-02-06 19:06:54 +00:00
|
|
|
env:
|
|
|
|
DISCORD_WEBHOOK: ${{ secrets.TRANSLATOR_WEBHOOK }}
|