neovim/bot-ci — pull request #28 by fwalch (2014-11-06 16:30:46+00:00)
Title: [WIP] Auto-assign labels to PRs based on their title.

Trying it with my Neovim fork:

```bash
$ export GH_TOKEN=... # valid token unfortunately required if you want to test without modifying the source
$ NEOVIM_REPO=fwalch/neovim SIMULATE=true ./ci/assign-tags.sh
Local build, skip installing dependencies.
Processing only PRs.
Updating [RDY] issue 5.
Adding 'ready' label.
Removing 'in progress' label.
$ NEOVIM_REPO=fwalch/neovim SIMULATE=true PROCESS_ONLY_PRS=false ./ci/assign-tags.sh
Local build, skip installing dependencies.
Updating [RDY] issue 5.
Adding 'ready' label.
Removing 'in progress' label.
Updating [RDY] issue 4.
Adding 'ready' label.
```

Only thing left to decide is whether all issues or just PRs should be processed, then I'll probably remove that option. I thought about splitting the code into multiple functions to improve readability, but didn't do so for now.

I didn't find a way to get more than 30 issues from the Github API.

Ping @elmart.