Skip to content

A github action that ensures you don't close an issue when it's dependents are still open.

Notifications You must be signed in to change notification settings

autoissue/autoissuebot

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Blocker Bot

This action runs on the issue.closed event and scans the repository for any issues that need to be finished/closed before closing the issue.



Use Case:

You: Work with a team to write code for some software product and your team uses Github Issues for managing the development process.

You: Have dozens, perhaps hundreds of issues in your backlog, and you're having a hard time managing that.


For example: How do you know, when going through your tickets that it's a bad idea to close #217 because blockers #175 & #173 aren't finished yet?

That is where autoissuebot enters the picture!

Add it to your repositorys' actions, then, when you close issue #217, it will scan the body of all open issues in the repository for the text "blocks #217"

Then if those matching issues are found it will reopen #217 and add a comment that says:

"This issue cannot be closed at this time, it is dependent on issue #175, #173"

Inputs

repo-token

REQUIRED Github Repository Token.

per-page

NOT Required Configure the # of issues per page when making requests to github

  Default: 30
  Max: 100

Outputs

blockers

List of issues this issue is dependent on

blockers: "#175, #173"

Add a comment to the re-opened issue

Screenshot

Example Basic usage

uses: autoissue/autoissuebot@v1
with:
  repo-token: 'repository token'

Example Advanced usage

uses: autoissue/autoissuebot@v1
with:
  repo-token: 'repository token'
  per_page: 50

About

A github action that ensures you don't close an issue when it's dependents are still open.

Resources

Stars

Watchers

Forks

Packages