GH-WORKFLOW-VIEW(1)

✨ GH-WORKFLOW-VIEW πŸ’…

okay bestie, so this is the gh workflow view page from the GitHub CLI manual β€” it's the little command that lets you peek at the summary of a workflow, like scrolling someone's profile before you decide to follow πŸ‘€ no cap, it's giving "main character energy" for your CI.


🌸 NAME 🌸

gh-workflow-view β€” view the summary of a workflow πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

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

like, you can hand it a workflow-id, a workflow-name, or a filename β€” or literally nothing at all, and it'll let you pick πŸ’…


πŸ’– OPTIONS πŸ’–

  • -r, --ref <string> β€” the branch or tag name that contains the version of the workflow file you'd like to view 🌿 like, which timeline of your workflow are we looking at bestie
  • -w, --web β€” open the workflow in the browser 🌈 perfect for when you want the full aesthetic experience
  • -y, --yaml β€” view the workflow yaml file πŸ“œ the raw truth, no filter

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • -R, --repo <[HOST/]OWNER/REPO> β€” select another repository using the [HOST/]OWNER/REPO format 🫢 so you can point at someone else's repo, iykyk

πŸŽ€ EXIT CODES πŸŽ€

  • 0: Successful execution ✨ slay, it worked
  • 1: Error 😭 something went wrong
  • 2: Command canceled πŸ™ˆ you hit the brakes
  • 4: Authentication required πŸ” bestie you gotta log in first
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. πŸ’€ don't @ me, just check the help

πŸ“ EXAMPLE πŸ“

# Interactively select a workflow to view
$ gh workflow view

# View a specific workflow
$ gh workflow view 0451

first one is the vibe-check-pick-your-own-adventure, second one is you knowing exactly what you want (workflow 0451, iconic) πŸ”₯


🧚 SEE ALSO 🧚


this little love letter brought to you by GitHub CLI v2.102.0, dated Oct 2026 β€” that's the source and the version, bestie, don't forget 'em 🫢✨

πŸ“¦ where this page comes from