Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

GitHub Action to label an issue by its deadline specified with a slash command and notify when there is updates on labels.

License

Notifications You must be signed in to change notification settings

ikanago/issue-deadline-manager

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

Issue Deadline Manager

CI Build Docker image License: MIT

This is a GitHub Action to label an issue by its deadline specified with a slash command and notify when there is updates on labels. It is recommended to use in a repository for a daily life TODO list, but it might useful for software development.

Set up

Use in a existing repository

Create .github/workflows/todo.yml(any file name goes well, of course) and copy and paste following.

name: Manage TODO

on:
  schedule:
    - cron: '0/10 * * * *'
  issues:
    types: [opened, edited]

jobs:
  update-todo:
    runs-on: ubuntu-20.04
    steps:
      - uses: ikanago/issue-deadline-manager@v1

Then commit it and push to master.

Create from template

You can create a new repository with the setting completed. Go to issue-todo-template and create a new repository by using it as a template.

How to use

After setting up, create an issue as a TODO. And write its deadline with a slash command like this:

/deadline 2021/12/31

After a while, github-actions bot adds an label according to the deadline and comments. Working example

The command format is /deadline ${DATE} ${TIME}. DATE format is yyyy-MM-dd or MM-dd. TIME is optional. The format is HH:mm.

About

GitHub Action to label an issue by its deadline specified with a slash command and notify when there is updates on labels.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •