Bump ch.qos.logback:logback-classic from 1.5.12 to 1.5.14 #471
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: Update translations | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
run: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.TRANSLATIONS_UPDATE }} | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Install dependencies | |
run: sudo apt-get install -y gettext | |
- name: Run Maven | |
run: mvn -Pupdate-translations validate | |
- name: Check changes | |
id: check-changes | |
continue-on-error: true | |
# check if anything except "POT creation date" has changed | |
run: git diff --numstat i18n/keys.pot | awk '{ if($1 == 1 && $2 == 1) { exit 1 } else exit 0 }' | |
- name: Commit changes | |
if: steps.check-changes.outcome == 'success' && steps.check-changes.conclusion == 'success' | |
uses: EndBug/add-and-commit@v6 | |
with: | |
author_name: PhoenicisBot | |
author_email: [email protected] | |
message: 'Update translations' | |
add: '*.pot' |