Forrest logo
back to the gh tool

gh-run:tldr:423f9

gh-run: Interactively select a run to see information about the jobs.
$ gh run view
try on your machine

The command "gh run view" is used in the context of GitHub CLI (gh) to view the details of a specific GitHub Actions workflow run.

GitHub Actions is a feature of GitHub that allows you to automate various tasks and workflows within your repositories. In GitHub Actions, each time a workflow is triggered, it creates a run, which represents a specific instance of that workflow execution.

The "gh run view" command allows you to view the details of a specific run. By providing the run ID or a URL to the run, you can retrieve information such as the status (e.g., success or failure), the commit that triggered the run, the workflow name, the branch or tag referenced, the timestamp, and any associated artifacts.

Here is an example usage:

gh run view <run-id>

where <run-id> is the unique identifier of the run you want to view.

This command is useful when you want to get more information about a specific run, inspect its logs or artifacts, or understand the results of a workflow execution.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gh tool