From b144c9d3558e27726b3033ac847fc0b6faddfcf8 Mon Sep 17 00:00:00 2001 From: Kyle Kurz Date: Fri, 21 Jan 2022 15:24:21 -0500 Subject: [PATCH] 2262 - Documentation Mismatch go-github documentation on GitHub Actions Workflow parameters indicated support for branch, tag or SHA, while the official docs indicated only branch and tag are supported (which was verified by attempting to pass a SHA to the workflow and seeing it ignored). This small changeset simply aligns the documentation. --- github/actions_workflows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/actions_workflows.go b/github/actions_workflows.go index 3ce926fed6..e0568462e8 100644 --- a/github/actions_workflows.go +++ b/github/actions_workflows.go @@ -50,7 +50,7 @@ type WorkflowBill struct { // CreateWorkflowDispatchEventRequest represents a request to create a workflow dispatch event. type CreateWorkflowDispatchEventRequest struct { // Ref represents the reference of the workflow run. - // The reference can be a branch, tag, or a commit SHA. + // The reference can be a branch or a tag. // Ref is required when creating a workflow dispatch event. Ref string `json:"ref"` // Inputs represents input keys and values configured in the workflow file.