Skip to content

Commit 521682f

Browse files
committed
fix: bool for PRs creation is used
1 parent 9bf06e8 commit 521682f

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/check_for_crowdin_updates.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
workflow_dispatch:
1111
inputs:
1212
UPDATE_PULL_REQUESTS:
13-
description: 'Create/update PR for QA/Desktop/iOS/Android'
13+
description: 'Create/update PRs for all platforms'
1414
required: true
1515
type: boolean
1616
default: true
@@ -39,6 +39,10 @@ jobs:
3939
with:
4040
path: 'scripts'
4141
# don't provide a branch (ref) so it uses the default for that event
42+
- name: Debug inputs
43+
run: |
44+
echo "UPDATE_PULL_REQUESTS: '${{ inputs.UPDATE_PULL_REQUESTS }}'"
45+
echo "Event name: ${{ github.event_name }}"
4246
- name: Setup Python
4347
uses: actions/setup-python@v5
4448
with:
@@ -246,7 +250,7 @@ jobs:
246250
name: Make Android PR
247251
needs: [jobs_sync]
248252
runs-on: ubuntu-latest
249-
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
253+
if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == 'true' }}
250254
steps:
251255
- name: Checkout Repo Content
252256
uses: actions/checkout@v4
@@ -277,7 +281,7 @@ jobs:
277281
needs: [jobs_sync]
278282
name: Make Desktop PR
279283
runs-on: ubuntu-latest
280-
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
284+
if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == 'true' }}
281285
steps:
282286
- name: Checkout Repo Content
283287
uses: actions/checkout@v4
@@ -309,7 +313,7 @@ jobs:
309313
needs: [jobs_sync]
310314
name: Make iOS PR
311315
runs-on: ubuntu-latest
312-
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
316+
if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == 'true' }}
313317
steps:
314318
- name: Checkout Repo Content
315319
uses: actions/checkout@v4
@@ -340,7 +344,7 @@ jobs:
340344
needs: [jobs_sync]
341345
name: Make QA PR (Appium)
342346
runs-on: ubuntu-latest
343-
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
347+
if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == 'true' }}
344348
steps:
345349
- name: Checkout Repo Content
346350
uses: actions/checkout@v4

0 commit comments

Comments
 (0)