Skip to content

PipeScript action should attempt discovery of email #152

@StartAutomating

Description

@StartAutomating

When the PipeScript action sets committer info, it defaults to assuming an email of $GitUserName@github.com

This should be automatically discovered where possible:

Invoke-RestMethod -uri "https://api.github.com/user/emails" -Headers @{Authorization = "token $env:GITHUB_TOKEN"} |
    Select-Object -First 1 -ExpandProperty email

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions