gh-workflow-view - Man Page

View the summary of a workflow

Synopsis

gh workflow view [<workflow-id> | <workflow-name> | <filename>] [flags]

Options

-r, --ref <string>

The branch or tag name which contains the version of the workflow file you'd like to view

-w, ā€‰--web

Open workflow in the browser

-y, ā€‰--yaml

View the workflow yaml file

Options Inherited from Parent Commands

-R, --repo <[HOST/]OWNER/REPO>

Select another repository using the [HOST/]OWNER/REPO format

Exit Codes

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

Example

# Interactively select a workflow to view
$ gh workflow view

# View a specific workflow
$ gh workflow view 0451

See Also

gh-workflow(1)

Referenced By

gh-workflow(1).

Dec 2024 GitHub CLI manual