https://github.com/brainhubeu/issue-overseer
Bot adding labels to GitHub issues which allows easy finding of issues with a missing answer
https://github.com/brainhubeu/issue-overseer
ginkgo github github-api github-bot github-label github-labels golang golang-application gomega
Last synced: 28 days ago
JSON representation
Bot adding labels to GitHub issues which allows easy finding of issues with a missing answer
- Host: GitHub
- URL: https://github.com/brainhubeu/issue-overseer
- Owner: brainhubeu
- License: mit
- Created: 2020-04-24T13:39:45.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-20T11:30:59.000Z (almost 5 years ago)
- Last Synced: 2024-04-23T22:45:29.557Z (about 1 year ago)
- Topics: ginkgo, github, github-api, github-bot, github-label, github-labels, golang, golang-application, gomega
- Language: Go
- Size: 151 KB
- Stars: 6
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
issue-overseer
Bot adding labels to GitHub issues which allows easy finding of issues with a missing answer.[](https://circleci.com/gh/brainhubeu/issue-overseer)
[](https://github.com/brainhubeu/issue-overseer/commits/master)
[](https://github.com/brainhubeu/issue-overseer/blob/master/LICENSE.md)
[](http://makeapullrequest.com)[](https://codecov.io/gh/brainhubeu/issue-overseer)
[](https://github.com/brainhubeu/issue-overseer/commits/master)Let's assume `my-acme-org` is your GitHub organization name.
For each open issue (among the comments, it excludes the ones made by **issuehunt-bot**), it:
- puts "**answering: reported by my-acme-org**" label if the issue is created by any member of the my-acme-org organization with no comments by external contributors;
- otherwise, puts "**answering: answered**" label if the last comment is by a member of the organization;
- otherwise, puts "**answering: not answered**"
- removes the remaining answering labels because they are exclusive## run
Regardless of the way, you choose, you need to export the `GITHUB_TOKEN` environmental variable:
in bash:
```
export GITHUB_TOKEN=my-gh-token
```in fish:
```
export set GITHUB_TOKEN=my-gh-token
```### dynamically with go
```
go run . my-acme-org
```### compile and run an executable file
```
go build -o issue-overseer
./issue-overseer my-acme-org
```### run with Docker
```
docker-compose up
```