New Crowdin translations by GitHub Action #11262
Workflow file for this run
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: 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: '.' |