gh issue listList open issues.
Issue triage plus GitHub Actions workflows, runs, secrets, variables, and caches.
Create, edit, assign, and close issues.
gh issue listList open issues.
gh issue view 123Show issue details.
gh issue create --title "Bug: login fails" --body "Steps to reproduce..."Create an issue with title and body.
gh issue create --title "Upgrade Node" --label tech-debt --assignee @meCreate an issue with metadata.
gh issue edit 123 --add-label bug --remove-label needs-triageEdit issue labels, assignees, and milestone.
gh issue comment 123 --body "Investigating now."Add an issue comment.
gh issue close 123 --comment "Fixed in #456"Close an issue and leave a comment.
gh issue reopen 123Reopen a closed issue.
gh issue pin 123Pin an issue in the repository.
gh issue unpin 123Unpin a previously pinned issue.
gh issue lock 123 --reason resolvedLock issue conversation.
gh issue unlock 123Unlock issue conversation.
gh issue statusShow issues assigned to you, mentioned, or created by you.
gh label create "customer-impact" --color FF0000 --description "Affects customers"Create a repository label.
gh label clone octo-org/source-repoCopy labels from another repository.
gh label delete "old-label" --yesDelete a label without prompting.
List, run, rerun, and inspect workflows and runs.
gh workflow listList workflows in the current repository.
gh workflow view "CI"Show details for a workflow.
gh workflow run deploy.yml -f environment=stagingDispatch a workflow with inputs.
gh workflow enable deploy.ymlEnable a disabled workflow.
gh workflow disable deploy.ymlDisable a workflow.
gh run list --limit 50List recent workflow runs.
gh run view 123456789Show status and jobs for a workflow run.
gh run view 123456789 --logPrint logs for a workflow run.
gh run watch 123456789Follow a workflow run until completion.
gh run download 123456789 -D ./artifactsDownload artifacts for a workflow run.
gh run rerun 123456789 --failedRerun failed jobs from a workflow run.
gh run cancel 123456789Cancel an in-progress workflow run.
gh cache listList GitHub Actions caches.
gh cache delete my-keyDelete an Actions cache by key.
gh secret listList Actions secrets for the repo.
gh secret set AWS_ACCESS_KEY_ID < aws_access_key_id.txtCreate or update a repository secret from stdin.
gh variable listList repository variables.
gh variable set APP_ENV --body productionCreate or update a repository variable.