From 8deff1664f13b9a4ec14602df6e4427e8983d941 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 3 Apr 2025 01:05:33 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Change=20parameter=20?= =?UTF-8?q?type=20from=20UInt64=20to=20string=20for=20workflow=20ID=20in?= =?UTF-8?q?=20multiple=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../public/Actions/Workflow/Disable-GitHubWorkflow.ps1 | 2 +- src/functions/public/Actions/Workflow/Enable-GitHubWorkflow.ps1 | 2 +- .../public/Actions/Workflow/Get-GitHubWorkflowUsage.ps1 | 2 +- src/functions/public/Actions/Workflow/Start-GitHubWorkflow.ps1 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/functions/public/Actions/Workflow/Disable-GitHubWorkflow.ps1 b/src/functions/public/Actions/Workflow/Disable-GitHubWorkflow.ps1 index 422c532f1..7816daf52 100644 --- a/src/functions/public/Actions/Workflow/Disable-GitHubWorkflow.ps1 +++ b/src/functions/public/Actions/Workflow/Disable-GitHubWorkflow.ps1 @@ -37,7 +37,7 @@ ValueFromPipelineByPropertyName )] [Alias('DatabaseID', 'WorkflowID')] - [UInt64] $ID, + [string] $ID, # The context to run the command in. Used to get the details for the API call. # Can be either a string or a GitHubContext object. diff --git a/src/functions/public/Actions/Workflow/Enable-GitHubWorkflow.ps1 b/src/functions/public/Actions/Workflow/Enable-GitHubWorkflow.ps1 index d2ac769ef..ad224ca8b 100644 --- a/src/functions/public/Actions/Workflow/Enable-GitHubWorkflow.ps1 +++ b/src/functions/public/Actions/Workflow/Enable-GitHubWorkflow.ps1 @@ -34,7 +34,7 @@ ValueFromPipelineByPropertyName )] [Alias('DatabaseID', 'WorkflowID')] - [UInt64] $ID, + [string] $ID, # The context to run the command in. Used to get the details for the API call. # Can be either a string or a GitHubContext object. diff --git a/src/functions/public/Actions/Workflow/Get-GitHubWorkflowUsage.ps1 b/src/functions/public/Actions/Workflow/Get-GitHubWorkflowUsage.ps1 index cdefff520..13f2a36c0 100644 --- a/src/functions/public/Actions/Workflow/Get-GitHubWorkflowUsage.ps1 +++ b/src/functions/public/Actions/Workflow/Get-GitHubWorkflowUsage.ps1 @@ -34,7 +34,7 @@ ValueFromPipelineByPropertyName )] [Alias('DatabaseID', 'WorkflowID')] - [UInt64] $ID, + [string] $ID, # The context to run the command in. Used to get the details for the API call. # Can be either a string or a GitHubContext object. diff --git a/src/functions/public/Actions/Workflow/Start-GitHubWorkflow.ps1 b/src/functions/public/Actions/Workflow/Start-GitHubWorkflow.ps1 index 8a69f9228..70de05d5b 100644 --- a/src/functions/public/Actions/Workflow/Start-GitHubWorkflow.ps1 +++ b/src/functions/public/Actions/Workflow/Start-GitHubWorkflow.ps1 @@ -39,7 +39,7 @@ ValueFromPipelineByPropertyName )] [Alias('DatabaseID', 'WorkflowID')] - [UInt64] $ID, + [string] $ID, # The reference of the workflow run. The reference can be a branch, tag, or a commit SHA. [Parameter()]