Log non-200 on metrics download (#4239) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Translation Notifier | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'src/main/resources/languages/en/**.yml' | |
permissions: | |
contents: read | |
jobs: | |
notify: | |
name: Translation-Notifier | |
runs-on: ubuntu-latest | |
if: github.repository == 'Slimefun/Slimefun4' | |
steps: | |
- name: Discord Notification | |
uses: Ilshidur/action-discord@master | |
with: | |
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 }} |