Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-20T11:30:59.000Z (over 4 years ago)
- Last Synced: 2024-04-23T22:45:29.557Z (7 months 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.[![CircleCI](https://img.shields.io/circleci/project/github/brainhubeu/issue-overseer.svg)](https://circleci.com/gh/brainhubeu/issue-overseer)
[![Last commit](https://img.shields.io/github/last-commit/brainhubeu/issue-overseer.svg)](https://github.com/brainhubeu/issue-overseer/commits/master)
[![license](https://img.shields.io/badge/License-MIT-green)](https://github.com/brainhubeu/issue-overseer/blob/master/LICENSE.md)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)[![codecov](https://codecov.io/gh/brainhubeu/issue-overseer/branch/master/graph/badge.svg)](https://codecov.io/gh/brainhubeu/issue-overseer)
[![Activity](https://img.shields.io/github/commit-activity/m/brainhubeu/issue-overseer.svg)](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
```