1 name: Update translation files
14 contents: write # for Git to git push
16 runs-on: ubuntu-latest
17 # Source: https://github.community/t/do-not-run-cron-workflows-in-forks/17636/2?u=williamdes
18 if: (github.event_name == 'schedule' && github.repository == 'phpmyadmin/phpmyadmin') || (github.event_name != 'schedule')
24 uses: actions/checkout@v4
26 - name: Install Gettext
28 sudo apt-get install -y gettext
30 - name: Set up PHP ${{ matrix.php-version }}
31 uses: shivammathur/setup-php@v2
33 php-version: ${{ matrix.php-version }}
36 - name: Install Composer dependencies
37 uses: ramsey/composer-install@v3
39 - name: Set up git config
41 git config user.name "phpMyAdmin bot"
42 git config user.email bot@phpmyadmin.net
44 - name: Update PO files