YAML for GitHub CLI
Execute GitHub CLI commands with integration-based authentication.
YAML examples for GitHub CLI
Run GitHub CLI commands
yaml- action: "GitHub CLI" type: "GIT_HUB_CLI" shell: "SH" integration: "my_github_integration" execute_commands: |- gh repo list gh pr list --state open setup_commands: gh config set git_protocol https execute_every_command: true
Simple GitHub CLI command
yaml- action: "List PRs" type: "GIT_HUB_CLI" integration: "github_integration" execute_commands: gh pr list