Configurar o GitHub CLI
To download or upgrade GitHub CLI, follow the instructions in the GitHub CLI README. To access all of the GitHub Actions-related commands, you must use version 1.9.0 or greater. For more information about GitHub CLI, see the GitHub CLI manual.
GitHub CLI can authenticate using your GitHub account. Before running GitHub CLI commands, you will need to authenticate by running gh auth login. For more information on command line authentication, see "gh auth login."
GitHub CLI commands must be run within the repository that you want to interact with, so you must first navigate to the directory containing the local copy of your repository. Alternatively, you can specify a repository by passing -R OWNER/REPOSITORY or --repo OWNER/REPOSITORY. Replace OWNER with owner of the repository. Substitua REPOSITORY pelo nome do repositório.
Gerenciar GitHub Actions com GitHub CLI
Para visualizar todos os comandos disponíveis relacionados a GitHub Actions, execute gh actions.
Para obter mais informações sobre o uso de comandos em cenários específicos, consulte os procedimentos a seguir: