|
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 }}" |
42 | 46 | - name: Setup Python |
43 | 47 | uses: actions/setup-python@v5 |
44 | 48 | with: |
@@ -246,7 +250,7 @@ jobs: |
246 | 250 | name: Make Android PR |
247 | 251 | needs: [jobs_sync] |
248 | 252 | runs-on: ubuntu-latest |
249 | | - if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }} |
| 253 | + if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == 'true' }} |
250 | 254 | steps: |
251 | 255 | - name: Checkout Repo Content |
252 | 256 | uses: actions/checkout@v4 |
@@ -277,7 +281,7 @@ jobs: |
277 | 281 | needs: [jobs_sync] |
278 | 282 | name: Make Desktop PR |
279 | 283 | runs-on: ubuntu-latest |
280 | | - if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }} |
| 284 | + if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == 'true' }} |
281 | 285 | steps: |
282 | 286 | - name: Checkout Repo Content |
283 | 287 | uses: actions/checkout@v4 |
@@ -309,7 +313,7 @@ jobs: |
309 | 313 | needs: [jobs_sync] |
310 | 314 | name: Make iOS PR |
311 | 315 | runs-on: ubuntu-latest |
312 | | - if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }} |
| 316 | + if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == 'true' }} |
313 | 317 | steps: |
314 | 318 | - name: Checkout Repo Content |
315 | 319 | uses: actions/checkout@v4 |
@@ -340,7 +344,7 @@ jobs: |
340 | 344 | needs: [jobs_sync] |
341 | 345 | name: Make QA PR (Appium) |
342 | 346 | runs-on: ubuntu-latest |
343 | | - if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }} |
| 347 | + if: ${{ github.event_name == 'schedule' || inputs.UPDATE_PULL_REQUESTS == 'true' }} |
344 | 348 | steps: |
345 | 349 | - name: Checkout Repo Content |
346 | 350 | uses: actions/checkout@v4 |
|
0 commit comments