Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sv-tools/create-milestone-action

Creating a milestone or returning an existing one. Pure JS action.
https://github.com/sv-tools/create-milestone-action

actions javascript milestones

Last synced: about 1 month ago
JSON representation

Creating a milestone or returning an existing one. Pure JS action.

Awesome Lists containing this project

README

        

# create-milestone-action
Create a new milestone or return an existing one. Pure JS action.

The action is written in JavaScript for speed of execution.

## Inputs

### `token`

**Required** GitHub Token.

### `title`

**Required** The title of a milestone.

### `state`

The state of a milestone. Either `open` or `closed`. Default `open`.

### `description`

The description of a milestone.

### `due_on`

The due date of a milestone. Timestamp in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.

## Outputs

### `id`

An ID of the changed milestone.

### `number`

A Number of the changed milestone.

### `state`

A State of the changed milestone.

### `title`

A Title of the changed milestone.

### `description`

A Description of the changed milestone.

### `due_on`

The due date of the changed milestone.

## Example

```yaml
uses: sv-tools/create-milestone-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: Next
description: Next Release, To be renamed with a proper semver.
```