Skip to content

Manage GitHub milestones

Actions
Manage the milestones for a given repository
v1.0.2
Latest
Star (0)

Tags

 (1)

Build Lint Commit Messages Quality Gate Status GitHub release (latest SemVer)

GitHub Action to manage Milestones

The GitHub Action for managing milestones of the GitHub repository.

  • Create a new milestone
  • Edit an existing milestone
  • Closing an existing milestone.
  • Deleting a milestone.

Usage

Example Workflow file

  • Create a milestone:
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Create the milestone
        uses: julbme/gh-action-manage-milestone@v1
        with:
          title: Some title
          state: open
          description: Some description
          due_on: "2022-01-01"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  • Close the milestone
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Close the milestone
        uses: julbme/gh-action-manage-milestone@v1
        with:
          title: Some title
          state: closed
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  • Delete the milestone
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Close the milestone
        uses: julbme/gh-action-manage-milestone@v1
        with:
          title: Some title
          state: deleted
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Inputs

Name Type Default Description
title string Not set Title of the milestone. Required
state string open State of the milestone. Valid values are open, closed, deleted
description string Not set Description of the milestone of the milestone.
due_on string Not set ISO8601 representation of the due date of the milestone. yyyy-MM-dd

Outputs

Name Type Description
number number ID of the milestone, or in case the milestone is deleted.

Contributing

This project is totally open source and contributors are welcome.

Manage GitHub milestones is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Manage the milestones for a given repository
v1.0.2
Latest

Tags

 (1)

Manage GitHub milestones is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.