An open API service indexing awesome lists of open source software.

https://github.com/davideviolante/sprint-milestone-action

A GitHub Action to automatically create Milestones to manage sprints with custom sprint duration.
https://github.com/davideviolante/sprint-milestone-action

automation github-action github-actions javascript milestones scrum sprint

Last synced: 9 months ago
JSON representation

A GitHub Action to automatically create Milestones to manage sprints with custom sprint duration.

Awesome Lists containing this project

README

          

# Sprint Milestone Action
[![](https://github.com/davideviolante/sprint-milestone-action/workflows/Node.js%20CI/badge.svg)](https://github.com/DavideViolante/sprint-milestone-action/actions?query=workflow%3A%22Node.js+CI%22) [![Coverage Status](https://coveralls.io/repos/github/DavideViolante/sprint-milestone-action/badge.svg?branch=master)](https://coveralls.io/github/DavideViolante/sprint-milestone-action?branch=master) [![Maintainability](https://api.codeclimate.com/v1/badges/60f9b3a6b4177a0bfe77/maintainability)](https://codeclimate.com/github/DavideViolante/sprint-milestone-action/maintainability) [![Donate](https://img.shields.io/badge/paypal-donate-179BD7.svg)](https://www.paypal.me/dviolante)

Automatically generate milestones to manage sprints.

## How it works
1. Get the current milestones
2. Get the milestone with the highest due date
3. Generate a new milestone using that `due date` + `sprint-duration` weeks (see inputs below)

## Inputs

### sprint-duration

The duration of the sprint expressed in weeks. Default is `1`.

## Outputs

### milestone-number

The new milestone number.

### milestone-title

The new milestone title.

### milestone-due_on

The new milestone due on.

## Example usage

```yaml
name: Sprint Milestone

on:
schedule:
# Every monday at 12UTC, create the new milestone
- cron: "0 12 * * 1"

jobs:
sprint_milestone:
runs-on: ubuntu-latest
steps:
- uses: davideviolante/sprint-milestone-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
sprint-duration: 2 # Default is 1
```

## Bug or feedback?
Please open an issue.

## Author
- [Davide Violante](https://github.com/DavideViolante)