1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00
Slimefun4/.github/workflows/translator-webhook.yml

23 lines
590 B
YAML
Raw Normal View History

name: Translation Notifier
on:
push:
branches:
- master
paths:
- 'src/main/resources/languages/**_en.yml'
jobs:
notify:
2020-05-23 22:50:28 +00:00
name: Translation-Notifier
runs-on: ubuntu-latest
2020-05-23 22:50:28 +00:00
if: github.repository == 'TheBusyBiscuit/Slimefun4'
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'
env:
DISCORD_WEBHOOK: ${{ secrets.TRANSLATOR_WEBHOOK }}