Skip to content

Laravel 11

Laravel 11 #2292

name: translation-update
on:
pull_request:
branches:
- 3.x
types:
- closed
jobs:
translation_update:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
with:
files: |
packages/**/resources/lang/en/**
- name: Notify on Discord
if: steps.changed-files.outputs.any_changed == 'true'
env:
DISCORD_WEBHOOK: ${{ secrets.TRANSLATION_BOT_DISCORD_WEBHOOK }}
uses: Ilshidur/[email protected]
with:
args: '<@&1026513157142872185> PR [#${{ github.event.number }}](${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number }}/files) introduced translation changes.'