SteveL-MSFT/PoshChan-Bot

Allow project name to be configured for rebuild action

TravisEz13 opened this issue · 4 comments

See the discussion here: PowerShell/PowerShell-Docker#187 (comment)

How do we set the value of Project here:

Write-Host "Organization = $($item.organization), Project = $($item.project)"

I see... You cannot. It's hard coded to the github project name, here:

$project = $body.repository.name

RDIL commented

oh right that was what I was going to open an issue for

The current code assumes the AzDevOps org matches the GitHub org and the project names also match. Will make this configurable.

Fixed via #18