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

DavideViolante/sprint-milestone-action

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

Sprint Milestone Action

Coverage Status 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/[email protected]
      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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •