handle labels

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
1 file changed
tree: 20db70f06e4b7ab5da0c9f2b455ad848a58e0b1b
  1. .gitignore
  2. .travis.yml
  3. Dockerfile
  4. Gopkg.lock
  5. Gopkg.toml
  6. LICENSE
  7. Makefile
  8. README.md
  9. VERSION.txt
  10. airtable.png
  11. main.go
  12. vendor/
  13. version/
README.md

gitable

Travis CI

Bot to update an airtable sheet with GitHub pull request or issue data.

NOTE: Your airtable table must have the following fields: Reference, Title, Type, Status, Labels, URL, and Updated. The only data you need to initialize is the Reference which is in the format {owner}/{repo}#{number}.

It should look like the following:

airtable.png

Installation

Binaries

Via Go

$ go get github.com/jessfraz/gitable

Usage

       _ _        _     _
  __ _(_) |_ __ _| |__ | | ___
 / _` | | __/ _` | '_ \| |/ _ \
| (_| | | || (_| | |_) | |  __/
 \__, |_|\__\__,_|_.__/|_|\___|
 |___/

 Bot to update an airtable sheet with GitHub pull request or issue data.
 Version: v0.0.0
 Build: 6a3dee6

  -airtable-apikey string
        Airtable API Key (or env var AIRTABLE_APIKEY)
  -airtable-baseid string
        Airtable Base ID (or env var AIRTABLE_BASEID)
  -airtable-table string
        Airtable Table (or env var AIRTABLE_TABLE)
  -d    run in debug mode
  -github-token string
        GitHub API token (or env var GITHUB_TOKEN)
  -interval string
        update interval (ex. 5ms, 10s, 1m, 3h) (default "1m")
  -v    print version and exit (shorthand)
  -version
        print version and exit