generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
26 lines (26 loc) · 1.13 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: "Add Milestone By Due Date"
description: "Add the milestone with the current or farthest due date to pull requests and issues"
author: "Ben Elan"
branding:
icon: calendar
color: green
inputs:
repo-token:
description: "Token for the repository. Defaults to `{{ github.token }}`"
default: ${{ github.token }}
required: false
farthest:
description: "Set this boolean to `true` if you want to add the milestone with the farthest due date. Defaults to `false`, which adds the current milestone."
required: false
default: "false"
overwrite:
description: "Set this boolean to `true` if you want the action to overwrite existing milestones on issues. Defaults to `false`, which ends the run if the issue already has a milestone."
required: false
default: "false"
single:
description: "Set this boolean to `true` if you only have a single milestone open at a time but don't set the due date. Defaults to `false`, which will not select a milestone if it doesn't have a due date, even if there is only one milestone open."
required: false
default: "false"
runs:
using: "node20"
main: "dist/index.js"