gh-workflow-view1
View the summary of a workflow
Usage
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 status
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.
Examples
# Interactively select a workflow to view $ gh workflow view # View a specific workflow $ gh workflow view 0451
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.