Open byjokese opened 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. We haven't had the time to address it yet, but we want to keep it open. This message is just a reminder for us to help triage issues.
Description In then command
glab ci view <tag_name>
, If the pipeline was triggered using a tag, glab picks the author from the commit that is tagged on. It should pick the name of the person who created the tag, as the GitLab page is showing.Expected Behavior vs Actual Behavior GitLab Web and glab cli showing different authors in "triggered X minutes ago by XXXX"
Possible Fix Instead of picked the name from the commit author, https://github.com/profclems/glab/blob/f405b97e8e7948637d9b7999153a4aa3bf8b4a6b/commands/ci/view/view.go#L110, try to pick it up from the Pipeline object see (https://docs.gitlab.com/ee/api/pipelines.html)
username
.Steps to Reproduce
glab ci view <tag_name>
to view that both authors are different.Logs No logs
Your Environment
glab --version
): glab version 1.22.0 (2022-01-10)