https://github.com/stefanzweifel/git-auto-commit-action/blob/2f5e73df85349efb9d2c4143b0bc601e271fff97/entrypoint.sh#L82 At https://github.com/projectlint/OS-lifecycle/runs/628003780?check_suite_focus=true I've found that the tags are being pushed, but it fails because `master` branch didn't, like it was did at https://github.com/projectlint/OS-lifecycle/runs/451499219?check_suite_focus=true. I've searching for this and according to https://stackoverflow.com/q/57905137/586382 and https://stackoverflow.com/q/3745135/586382, seems when using the `--tags` flag only the tags are being send, NOT the commits of the actual branch if not set explicitly in the command line, as it's being done at https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L90 when branch name is provided. Maybe `INPUT_BRANCH` could be initialized to current branch at https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L39-L44 if it's not provided, and code https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L75-L92 unified and simplified?
git-auto-commit-action/entrypoint.sh
Line 82 in 2f5e73d
At https://github.com/projectlint/OS-lifecycle/runs/628003780?check_suite_focus=true I've found that the tags are being pushed, but it fails because
masterbranch didn't, like it was did at https://github.com/projectlint/OS-lifecycle/runs/451499219?check_suite_focus=true.I've searching for this and according to https://stackoverflow.com/q/57905137/586382 and https://stackoverflow.com/q/3745135/586382, seems when using the
--tagsflag only the tags are being send, NOT the commits of the actual branch if not set explicitly in the command line, as it's being done at https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L90 when branch name is provided.Maybe
INPUT_BRANCHcould be initialized to current branch at https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L39-L44 if it's not provided, and code https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh#L75-L92 unified and simplified?