Skip to content

ButterCam/setup-github-cli

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
 
 

Repository files navigation

setup-github-cli

Actions Status

This github action allows for installation of the Github CLI to be used in your actions pipeline.

It has support for Linux, MacOS and Windows runners.

gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@latest
- uses: ButterCam/setup-github-cli@master

- run: gh --version

Authorized calls to change things:

steps:
- uses: actions/checkout@v1

- name: Install Github
    uses: ButterCam/setup-github-cli@master
    
- name: run gh commands
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    run: |
         gh release

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide

About

Github Action to set up github CLI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 95.6%
  • JavaScript 4.4%