Skip to content

Actor of pushing to branch should be configurable #55

Closed

Description

@lleontop

Hi,

thanks for this action!
I think there is a problem when the PAT used in the token belongs to one user and the actual commit actor are different which causes errors during pushing of bump commit and tag.
So if the PAT in the workflow belongs to a bot user A and the actual commit happens from a human user B then if I understand correctly the url in entrypoint.sh will try to authenticate user B with token from A and this will cause a failure in pushing.

I think an input configuring the actual user in this url (defaulting to actor) should suffice. I can also create a PR for this if this solution makes sense!

Thanks!

Activity

  1. woile commented on Feb 3, 2023

    @woile
    Member

    A PR would be welcome, thanks!

  2. added a commit that references this issue on Dec 9, 2024
  3. fritz-trawa commented on Dec 9, 2024

    @fritz-trawa
    Contributor

    We need this too so I just created a PR

  4. added a commit that references this issue on Dec 9, 2024
  5. woile commented on Dec 9, 2024

    @woile
    Member

    thanks 🎉

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions