diff --git a/.github/actions/create-pull-request/action.yml b/.github/actions/create-pull-request/action.yml index 62c374828d..50e940a06d 100644 --- a/.github/actions/create-pull-request/action.yml +++ b/.github/actions/create-pull-request/action.yml @@ -22,6 +22,10 @@ inputs: description: 'Whether to run in dry-run mode.' required: false default: 'false' + working-directory: + description: 'The working directory to run the commands in.' + required: false + default: '.' runs: using: 'composite' @@ -31,6 +35,7 @@ runs: env: GH_TOKEN: '${{ inputs.github-token }}' shell: 'bash' + working-directory: '${{ inputs.working-directory }}' run: | set -e PR_URL=$(gh pr create \