Skip to content

Commit 2914294

Browse files
authored
Merge pull request #20 from session-foundation/debug-bool-prs
fix: bool for PRs creation is used correctly
2 parents 9a237bc + f4084a1 commit 2914294

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/check_for_crowdin_updates.yml

Lines changed: 12 additions & 6 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,12 @@ 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 }}"
46+
echo "All inputs: ${{ toJSON(inputs) }}"
47+
4248
- name: Setup Python
4349
uses: actions/setup-python@v5
4450
with:
@@ -246,7 +252,7 @@ jobs:
246252
name: Make Android PR
247253
needs: [jobs_sync]
248254
runs-on: ubuntu-latest
249-
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
255+
if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == true }}
250256
steps:
251257
- name: Checkout Repo Content
252258
uses: actions/checkout@v4
@@ -277,7 +283,7 @@ jobs:
277283
needs: [jobs_sync]
278284
name: Make Desktop PR
279285
runs-on: ubuntu-latest
280-
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
286+
if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == true }}
281287
steps:
282288
- name: Checkout Repo Content
283289
uses: actions/checkout@v4
@@ -309,7 +315,7 @@ jobs:
309315
needs: [jobs_sync]
310316
name: Make iOS PR
311317
runs-on: ubuntu-latest
312-
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
318+
if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == true }}
313319
steps:
314320
- name: Checkout Repo Content
315321
uses: actions/checkout@v4
@@ -340,13 +346,13 @@ jobs:
340346
needs: [jobs_sync]
341347
name: Make QA PR (Appium)
342348
runs-on: ubuntu-latest
343-
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
349+
if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == true }}
344350
steps:
345351
- name: Checkout Repo Content
346352
uses: actions/checkout@v4
347353
with:
348354
path: 'scripts'
349-
355+
350356
- name: Checkout Session Appium
351357
uses: ./scripts/actions/checkout_qa
352358

0 commit comments

Comments
 (0)