Update localizable ci #29
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 for localizable changes | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- stable* | |
pull_request: | |
branches: | |
- main | |
- master | |
- stable* | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
check-localizable: | |
name: Check for localizable changes | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout app | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Run localizable generation | |
run: | | |
head -n 1 NextcloudTalk/en.lproj/Localizable.strings | hexdump -v -C | |
source ./generate-localizable-strings-file.sh | |
head -n 1 NextcloudTalk/en.lproj/Localizable.strings | hexdump -v -C | |
- name: Run git diff | |
run: | | |
git diff | |
- name: Verify Changed files | |
uses: tj-actions/verify-changed-files@v16 | |
id: verify-changed-files | |
with: | |
fail-if-changed: true | |
files: | | |
NextcloudTalk/en.lproj/Localizable.strings |