Skip to content

Commit 9bf06e8

Browse files
authored
Merge pull request #18 from session-foundation/chore-add-bool-skip-pr-creation
chore: add bool to skip creating PR
2 parents cf088ed + b4ea81e commit 9bf06e8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/check_for_crowdin_updates.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
schedule:
99
- cron: '0 0 * * 1' # Every Monday at 12:00 AM UTC, which is 10:00 AM Melbourne time (AEST)
1010
workflow_dispatch:
11+
inputs:
12+
UPDATE_PULL_REQUESTS:
13+
description: 'Create/update PR for QA/Desktop/iOS/Android'
14+
required: true
15+
type: boolean
16+
default: true
1117

1218
concurrency:
1319
group: ${{ github.workflow }}-${{ github.ref }}
@@ -240,6 +246,7 @@ jobs:
240246
name: Make Android PR
241247
needs: [jobs_sync]
242248
runs-on: ubuntu-latest
249+
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
243250
steps:
244251
- name: Checkout Repo Content
245252
uses: actions/checkout@v4
@@ -270,6 +277,7 @@ jobs:
270277
needs: [jobs_sync]
271278
name: Make Desktop PR
272279
runs-on: ubuntu-latest
280+
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
273281
steps:
274282
- name: Checkout Repo Content
275283
uses: actions/checkout@v4
@@ -301,6 +309,7 @@ jobs:
301309
needs: [jobs_sync]
302310
name: Make iOS PR
303311
runs-on: ubuntu-latest
312+
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
304313
steps:
305314
- name: Checkout Repo Content
306315
uses: actions/checkout@v4
@@ -331,6 +340,7 @@ jobs:
331340
needs: [jobs_sync]
332341
name: Make QA PR (Appium)
333342
runs-on: ubuntu-latest
343+
if: ${{ inputs.UPDATE_PULL_REQUESTS == 'true' }}
334344
steps:
335345
- name: Checkout Repo Content
336346
uses: actions/checkout@v4

0 commit comments

Comments
 (0)