Update action.yml

This commit is contained in:
Guillaume Falourd 2021-11-18 11:50:24 -03:00 committed by GitHub
parent 21868283f9
commit 601414734b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,6 +55,7 @@ runs:
- name: Git push and commit
run: |
CURRENT_BRANCH=${GITHUB_REF##*/}
echo $CURRENT_BRANCH
TARGET_BRANCH=${{ inputs.target_branch }}
case $TARGET_BRANCH in "refs/heads/"*)
TARGET_BRANCH=$(echo "$TARGET_BRANCH" | sed "s@refs/heads/@@")