1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 19:55:48 +00:00
Slimefun4/.github/workflows/translator-webhook.yml

24 lines
574 B
YAML
Raw Normal View History

name: Translation Notifier
2020-07-30 11:30:20 +00:00
on:
push:
branches:
- master
paths:
- 'src/main/resources/languages/**_en.yml'
2020-07-30 11:30:20 +00:00
jobs:
notify:
2020-07-30 11:30:20 +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
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 }}