appleboy / appleboy/drone-telegram
Support both DRONE_COMMIT_AUTHOR and DRONE_COMMIT_AUTHOR_NAME as template {{commit.author}} variable
- Dominant language
- Go
- Stars
- 113
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
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 ?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start from the cli.StringFlag defining the commit.author template variable and inspect how DRONE_COMMIT_AUTHOR is read. Verify how DRONE_COMMIT_AUTHOR_NAME should be handled, then exercise the commit.author template output with each environment variable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100