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.
- Host: GitHub
- URL: https://github.com/davideviolante/sprint-milestone-action
- Owner: DavideViolante
- License: mit
- Created: 2020-04-28T21:28:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-07-22T11:04:22.000Z (11 months ago)
- Last Synced: 2025-09-03T08:39:37.096Z (9 months ago)
- Topics: automation, github-action, github-actions, javascript, milestones, scrum, sprint
- Language: JavaScript
- Homepage:
- Size: 2.97 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sprint Milestone Action
[](https://github.com/DavideViolante/sprint-milestone-action/actions?query=workflow%3A%22Node.js+CI%22) [](https://coveralls.io/github/DavideViolante/sprint-milestone-action?branch=master) [](https://codeclimate.com/github/DavideViolante/sprint-milestone-action/maintainability) [](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)