Skip to content

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

License

Notifications You must be signed in to change notification settings

bfulco/sprint-milestone-action

 
 

Repository files navigation

Sprint Milestone Action

Maintainability Donate

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

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.1.1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        sprint-duration: 2 # Default is 1

Bug or feedback?

Please open an issue.

Author

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%