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.
- 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 }}
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 |
Name | Type | Description |
---|---|---|
number |
number | ID of the milestone, or in case the milestone is deleted. |
This project is totally open source and contributors are welcome.