Skip to content

Commit 1bcc539

Browse files
committed
sync-with-template.yml
1 parent 4d77e24 commit 1bcc539

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/sync-with-template.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,16 @@ on:
1111
- 'master'
1212
schedule:
1313
- cron: '47 0/4 * * *' # sync-with-template: adjust
14-
workflow_dispatch: { }
14+
workflow_dispatch:
15+
inputs:
16+
dryRun:
17+
required: true
18+
default: 'false'
19+
description: Set to 'true' to enable dry run
20+
type: choice
21+
options:
22+
- 'true'
23+
- 'false'
1524

1625
defaults:
1726
run:
@@ -55,5 +64,6 @@ jobs:
5564
if: ${{env.PUSH_BACK_TOKEN && fromJSON(steps.decision.outputs.enough) == true}}
5665
uses: remal-github-actions/sync-with-template@v3
5766
with:
67+
dryRun: ${{inputs.dryRun}}
5868
githubToken: ${{env.PUSH_BACK_TOKEN}}
5969
templateRepository: ${{secrets.TEMPLATE_REPOSITORY || ''}}

0 commit comments

Comments
 (0)