Skip to content

Commits not pushed when tag is defined #69

@piranna

Description

@piranna

git push origin --tags;

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions