Skip to content

glours/auto-closer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auto Closer

This action closes all issues that have a specific label while keeping the latest one(s) open. Works best for daily, weekly or monthly auto created issues. Use with care for the initial run expecially when you have a large number of open issues with the label.

Environment variables

  • AC_LABEL (required): The label that the target issue should have.
  • AC_KEEP (optional): The number of the issues should be kept open. Default value: 1

Running locally for development

This is designed to be used as a GitHub Action, but you can also just build and run it locally with the following env vars:

export GITHUB_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export GITHUB_REPOSITORY="owner/repository"
export AC_LABEL="label"
go run src/main.go

About

A GitHub Action that closes all issues with a specific label while keeping the latest one(s) open.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Go 90.3%
  • Dockerfile 9.7%