|
10 | 10 | workflow_dispatch: |
11 | 11 | inputs: |
12 | 12 | UPDATE_PULL_REQUESTS: |
13 | | - description: 'Create/update PR for QA/Desktop/iOS/Android' |
| 13 | + description: 'Create/update PRs for all platforms' |
14 | 14 | required: true |
15 | 15 | type: boolean |
16 | 16 | default: true |
|
39 | 39 | with: |
40 | 40 | path: 'scripts' |
41 | 41 | # 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 | +
|
42 | 48 | - name: Setup Python |
43 | 49 | uses: actions/setup-python@v5 |
44 | 50 | with: |
@@ -246,7 +252,7 @@ jobs: |
246 | 252 | name: Make Android PR |
247 | 253 | needs: [jobs_sync] |
248 | 254 | runs-on: ubuntu-latest |
249 | | - if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }} |
| 255 | + if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == true }} |
250 | 256 | steps: |
251 | 257 | - name: Checkout Repo Content |
252 | 258 | uses: actions/checkout@v4 |
@@ -277,7 +283,7 @@ jobs: |
277 | 283 | needs: [jobs_sync] |
278 | 284 | name: Make Desktop PR |
279 | 285 | runs-on: ubuntu-latest |
280 | | - if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }} |
| 286 | + if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == true }} |
281 | 287 | steps: |
282 | 288 | - name: Checkout Repo Content |
283 | 289 | uses: actions/checkout@v4 |
@@ -309,7 +315,7 @@ jobs: |
309 | 315 | needs: [jobs_sync] |
310 | 316 | name: Make iOS PR |
311 | 317 | runs-on: ubuntu-latest |
312 | | - if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }} |
| 318 | + if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == true }} |
313 | 319 | steps: |
314 | 320 | - name: Checkout Repo Content |
315 | 321 | uses: actions/checkout@v4 |
@@ -340,13 +346,13 @@ jobs: |
340 | 346 | needs: [jobs_sync] |
341 | 347 | name: Make QA PR (Appium) |
342 | 348 | runs-on: ubuntu-latest |
343 | | - if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }} |
| 349 | + if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == true }} |
344 | 350 | steps: |
345 | 351 | - name: Checkout Repo Content |
346 | 352 | uses: actions/checkout@v4 |
347 | 353 | with: |
348 | 354 | path: 'scripts' |
349 | | - |
| 355 | + |
350 | 356 | - name: Checkout Session Appium |
351 | 357 | uses: ./scripts/actions/checkout_qa |
352 | 358 |
|
|
0 commit comments