Closed CaseyMacPherson closed 1 year ago
The implementation of New-GitlabPipelineSchedule ignores piped Project object.
New-GitlabPipelineSchedule
The function does have the value from pipeline attribute. It just seems like an oversight based on the implementation.
function New-GitlabPipelineSchedule { param ( [Parameter(Mandatory=$false, ValueFromPipelineByPropertyName=$true)] [string] $ProjectId = '.', # Other stuff removed $Project = Get-GitlabProject -SiteUrl $SiteUrl if ($Ref -eq '.') { $Ref = $(Get-LocalGitContext).Branch }
Fix inbound
The implementation of
New-GitlabPipelineSchedule
ignores piped Project object.The function does have the value from pipeline attribute. It just seems like an oversight based on the implementation.
Fix inbound