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

24 lines
595 B
YAML
Raw Normal View History

name: Translation Notifier
2020-07-30 11:30:20 +00:00
on:
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
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:
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'
env:
DISCORD_WEBHOOK: ${{ secrets.TRANSLATOR_WEBHOOK }}