GithubHelp home page GithubHelp logo

ght's Introduction

Greenhouse Tooling

Get it from the Snap Store

Greenhouse Tooling (ght) is a command line tool that will help you automate repetitive tasks on Greenhouse.

Since it only supports Ubuntu One login, this project can only be used by Canonical employees.

Install ght

On Linux it is available as a snap:

snap install ght

Usage

Replicate job posts

You can use ght to replicate job posts from the Canonical board in regions: americas, emea, apac, canada and latam.

ght replicate <JOB_POST_ID> --regions=europe,americas

If you want to use the interactive mode, you can run the command with the flag -i. Let yourself be guided by the tool:

ght replicate -i

Repost a specific job post

You can use ght to repost a specific job post - the old job post is deleted afterwards.

ght repost <JOB_POST_ID>

If you also want to use the interactive mode to repost a specific job post, you can run the command with the flags -i. Let yourself be guided by the tool:

ght repost -i

Assign graders to written interviews

You can use ght to assign random graders to written interviews. You should have a ght-graders.yml file in your home directory with the format:

Job name 1:
  Written Interview:
    - name: Grader One
      active: true
    - name: Grader Two
      active: false
    - name: Grader Three
      active: true
Job name 2:
  Written Interview:
    - name: Grader Four
      active: true

Running ght assign -i will guide you through the process of selecting the jobs. For the selected jobs, it will go through the written interviews needing graders (applications where only the hiring lead is assigned, since this is the default behaviour in Greenhouse) and will assign two random names from the list provided.

  • name: should exactly match the name used when selecting the person is the scorecard assignment modal in Greenhouse
  • active: only people with active set to true will be randomly selected. This allows you to define people that are on holiday or unavailable for a time.

Authentication

The CLI will manage authentication. To avoid entering credentials every time the command runs, the authorization cookie created by Greenhouse and SSO will be stored in the file: ~/.config/ght/.canonical-greenhouse.json.

Every time the authentication requires a refresh, you will be requested to authenticate.

Customising GHT

You can override some of the default values by providing your own config file. This has to be a yaml file containing the following (optional) values.

# Url to your greenhouse instance
# default: https://canonical.greenhouse.io
greenhouseUrl: https://example.greenhouse.io/
# Job board that contains the original job post to be copied
# default: Canonical
copyFromBoard: Jobs
# Job board where new posts will be located
# default: Canonical - Jobs
copyToBoard: Jobs
# Job boards that won't be considered when deleting job posts
# with the `reset` command
# default: [Canonical, Internal]
protectedBoards: [Internal]
# Regions to publish the job post
regions:
    emea:
        - "Home based - Africa, Accra"
    americas:
        - "Home based - Canada, Calgary"
        - "Home based - Canada, Montreal"

To do do, supply the file path with --config (or -c), i.e:

ght replicate -i --config ~/ght-config.yaml

Happy hiring!

ght's People

Contributors

andesol avatar anthonydillon avatar babakks avatar camille-rodriguez avatar dampolo03 avatar goulinkh avatar ilayda21 avatar ivoks avatar jnsgruk avatar muhammadbassiony avatar renovate-bot avatar renovate[bot] avatar tbille avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.