Skip to content

New Crowdin translations by GitHub Action #11262

New Crowdin translations by GitHub Action

New Crowdin translations by GitHub Action #11262

Workflow file for this run

name: Check PHP Code
on:
pull_request:
branches:
- main
push:
branches:
- l10n_crowdin_package_v4
- l10n_crowdin_package_v5
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
check-php-code:
if: (github.repository == 'joomla/core-translations') || (github.repository != 'joomla/core-translations' && github.event_name != 'schedule')
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Check PHP syntax errors
uses: StephaneBour/[email protected]
with:
dir: '.'