Skip to content
Open
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
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ inputs:
upstream-branch:
description: 'Upstream branch to merge from. For example, master'
default: 'master'
ff:
description: 'merge behavior, For example, --ff-only, --no-ff, --ff'
default: '--ff-only'
branch:
description: 'Branch to merge to. For example, master'
default: 'master'
Expand All @@ -34,6 +37,6 @@ runs:
git branch --all
git config --list
git checkout ${{ inputs.branch }}
git merge --ff-only upstream/${{ inputs.upstream-branch }}
git merge ${{ inputs.ff }} upstream/${{ inputs.upstream-branch }}
git push
shell: bash