-
Notifications
You must be signed in to change notification settings - Fork 91
49 lines (41 loc) · 1.06 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
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
- name: Run git diff
run: |
git diff
head -n 1 NextcloudTalk/en.lproj/Localizable.strings | hexdump -v -C
- 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