Skip to content

phpdrone/ghcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github php CLI docker image

Docker usage

docker run -ti phpdrone/ghcli --help

For the options, see https://github.com/gboddin/php-github-cli

Drone usage

Commenting a pull request for eg:

pipeline:
  comment-pull-request:
    image: phpdrone/ghcli
    secrets: [ github_api_token ]
    commands:
      - ghcli pr:comment ${DRONE_REPO_OWNER} ${DRONE_REPO_NAME} ${DRONE_PULL_REQUEST} "Panda is not happy"
    when:
      event: pull_request
      status: failure

Releases

No releases published

Packages