Skip to content

Support both DRONE_COMMIT_AUTHOR and DRONE_COMMIT_AUTHOR_NAME as template {{commit.author}} variable #111

@rng3r

Description

@rng3r

My droneCI send only DRONE_COMMIT_AUTHOR_NAME=Anatoly Semenov env variable, but did not send DRONE_COMMIT_AUTHOR and telegram plugin match only by
cli.StringFlag{
Name: "commit.author",
Usage: "git author name",
EnvVar: "DRONE_COMMIT_AUTHOR",
},

Could its see to both variables or add additional commit.xxx template variales ?

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