Merge pull request #8843 from cli/wm/doc-run-view-and-watch
Document run watch and view not supporting fine grained PATs
This commit is contained in:
commit
83f0b5b810
2 changed files with 13 additions and 1 deletions
|
|
@ -96,7 +96,13 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
|
|||
cmd := &cobra.Command{
|
||||
Use: "view [<run-id>]",
|
||||
Short: "View a summary of a workflow run",
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Long: heredoc.Docf(`
|
||||
View a summary of a workflow run.
|
||||
|
||||
This command does not support authenticating via fine grained PATs
|
||||
as it is not currently possible to create a PAT with the %[1]schecks:read%[1]s permission.
|
||||
`, "`"),
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
Example: heredoc.Doc(`
|
||||
# Interactively select a run to view, optionally selecting a single job
|
||||
$ gh run view
|
||||
|
|
|
|||
|
|
@ -45,6 +45,12 @@ func NewCmdWatch(f *cmdutil.Factory, runF func(*WatchOptions) error) *cobra.Comm
|
|||
cmd := &cobra.Command{
|
||||
Use: "watch <run-id>",
|
||||
Short: "Watch a run until it completes, showing its progress",
|
||||
Long: heredoc.Docf(`
|
||||
Watch a run until it completes, showing its progress.
|
||||
|
||||
This command does not support authenticating via fine grained PATs
|
||||
as it is not currently possible to create a PAT with the %[1]schecks:read%[1]s permission.
|
||||
`, "`"),
|
||||
Example: heredoc.Doc(`
|
||||
# Watch a run until it's done
|
||||
gh run watch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue