Skip to content

Feature Request: Push only the tag, not branch #153

Closed

Description

@ibexa-yuna

Hi,

I'm trying to utilize this action as the last step in my release workflow.
As part of that workflow I need to push only the tag, as I have no need for a separate branch, but also I would like not to have tags on the branch I'm making it, as this branch is a "skeleton one" i.e. requires preparation before tagging, thus tags on it don't look good.

I'm reading the start.sh code and it seems there is no way to push just the tag I've just created, without pushing the branch.

https://github.com/ad-m/github-push-action/blob/master/start.sh#L52
HEAD:$INPUT_BRANCH is a branch notation, thus even if I input branch as my tag I will actually push both my tag and a branch with the same name as my tag.

Activity

  1. ZPascal commented on Feb 10, 2023

    @ZPascal
    Collaborator

    Hi @ibexa-yuna, I understand the case and it sounds valid. Do you wanna handle it on your own and contribute it back to this repository or should I prepare the corresponding small PR?

  2. ibexa-yuna commented on Feb 10, 2023

    @ibexa-yuna
    Author

    I would appreciate the 2-nd option, as I will not be able to replicate the same coding style as you have.

  3. ZPascal commented on Feb 10, 2023

    @ZPascal
    Collaborator

    Okay @ibexa-yuna, I think I can prepare the new feature in the next few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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