From e274ecb77bd6ba35c2a14305678bc9493b4e5a0e Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Mon, 27 Jul 2020 20:48:28 -0500 Subject: [PATCH] fix: this allows proper running of the docs update button (#901) * fix: this allows proper running of the docs update button * single quotes --- .github/workflows/update-docs.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-docs.yml b/.github/workflows/update-docs.yml index 8adcfb303..3e15f7db3 100644 --- a/.github/workflows/update-docs.yml +++ b/.github/workflows/update-docs.yml @@ -2,6 +2,15 @@ name: update-docs on: workflow_dispatch: + inputs: + gitName: + description: 'git name for PR' + required: false + default: 'tauri-bot' + gitEmail: + description: 'git email for PR' + required: false + default: 'tauri-bot@tauri.studio' jobs: update-docs: @@ -33,8 +42,8 @@ jobs: cratesToProcess: "tauri,tauri_api,tauri_utils" - name: git config run: | - git config --global user.name "${{ github.event.pusher.name }}" - git config --global user.email "${{ github.event.pusher.email }}" + git config --global user.name "${{ github.event.inputs.gitName }}" + git config --global user.email "${{ github.event.inputs.gitEmail }}" - name: create pull request for updated docs uses: tauri-apps/create-pull-request@v2.8.0 with: