Bot adding labels to GitHub issues which allows easy finding of issues with a missing answer.
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
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
go run . my-acme-org
go build -o issue-overseer
./issue-overseer my-acme-org
docker-compose up