-
Notifications
You must be signed in to change notification settings - Fork 91
59 lines (48 loc) · 1.17 KB
/
localizable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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