Merge pull request #1734 from nextcloud/signaling-settings-tests #891
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
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors | |
# SPDX-License-Identifier: MIT | |
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-12 | |
steps: | |
- name: Checkout app | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Run localizable generation | |
run: | | |
source ./generate-localizable-strings-file.sh | |
- name: Run git diff | |
run: | | |
git diff | |
- name: Install dependencies | |
run: | | |
pip3 install pyspelling | |
- name: Spell check | |
run: | | |
python3 -m pyspelling | |
- name: Verify Changed files | |
uses: tj-actions/verify-changed-files@v20 | |
id: verify-changed-files | |
if: always() | |
with: | |
fail-if-changed: true | |
files: | | |
NextcloudTalk/en.lproj/Localizable.strings |