diff --git a/.github/workflows/sync-with-template.yml b/.github/workflows/sync-with-template.yml index 92a2f3b..305027d 100644 --- a/.github/workflows/sync-with-template.yml +++ b/.github/workflows/sync-with-template.yml @@ -11,7 +11,16 @@ on: - 'master' schedule: - cron: '13 2/4 * * *' # sync-with-template: adjust - workflow_dispatch: { } + workflow_dispatch: + inputs: + dryRun: + required: true + default: 'false' + description: Set to 'true' to enable dry run + type: choice + options: + - 'true' + - 'false' defaults: run: @@ -55,5 +64,6 @@ jobs: if: ${{env.PUSH_BACK_TOKEN && fromJSON(steps.decision.outputs.enough) == true}} uses: remal-github-actions/sync-with-template@v3 with: + dryRun: ${{inputs.dryRun}} githubToken: ${{env.PUSH_BACK_TOKEN}} templateRepository: ${{secrets.TEMPLATE_REPOSITORY || ''}}