Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ inputs:
description: Branch name to sync to in this repo, default is master
required: false
default: master
repository:
description: Set custom repository
required: false
default: ${{ github.repository }}
pr_title:
description: Pull request title
required: false
Expand Down Expand Up @@ -42,6 +46,9 @@ inputs:
pr_allow_empty:
description: Create PR even if no changes
required: false
working_directory:
description: Change working directory
required: false
github_token:
description: GitHub token secret
required: true
Expand Down
5 changes: 5 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ if [[ -z "$GITHUB_TOKEN" ]]; then
fi
fi

if [[ -n "$INPUT_WORKING_DIRECTORY" ]]; then
echo "Changing working directory to ${INPUT_WORKING_DIRECTORY} "
cd "$INPUT_WORKING_DIRECTORY"
fi

# enable debug after token handling
enable_debug

Expand Down