Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for localizable changes on CI #1383

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/localizable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
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: |
source ./generate-localizable-strings-file.sh

- 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
6 changes: 5 additions & 1 deletion .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ on:
- master
pull_request:
branches:
- master
- master

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
SwiftLint:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/uitests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
- master
- stable*

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read

Expand Down
Loading