Skip to content

Setup Hub

Actions
Setup your Github Actions runner with Hub CLI
v1.0.0
Latest
Star (16)

setup-hub

Actions Status

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

It has support for Linux, MacOS and Windows runners.

Hub CLI allows you to do more with github specific features like releases, issues and pull requests in your Github Action workflow

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@latest
- uses: geertvdc/setup-hub@master

- run: hub --version

Authorized calls to change things:

steps:
- uses: actions/checkout@v1

- name: Install hub
    uses: geertvdc/setup-hub@master
    
- name: run hub commands
    env:
      GITHUB_USER: ${{ secrets.GITHUB_USER }}
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    run: |
         hub release

add GITHUB_USER with your github user account to secrets.

License

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

Contributions

Contributions are welcome! See Contributor's Guide

Setup Hub is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Setup your Github Actions runner with Hub CLI
v1.0.0
Latest

Setup Hub is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.