Skip to content

Commit

Permalink
refactor: cannot use inputs in command lines. switch to env
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Nov 17, 2023
1 parent 36298a1 commit 1ad073d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/merge-branch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
echo "source-branch '${{ env.SOURCE_BRANCH }}' does not exist in git repository" >&2
exit 1
fi
with:
env:
SOURCE_BRANCH: ${{ inputs.source-branch }}

- name: Verify target-branch
Expand All @@ -52,7 +52,7 @@ runs:
echo "target-branch '${{ env.TARGET_BRANCH }}' does not exist in git repository" >&2
exit 1
fi
with:
env:
TARGET_BRANCH: ${{ inputs.target-branch }}


Expand Down

0 comments on commit 1ad073d

Please sign in to comment.