forked from alstr/todo-to-issue-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
74 lines (74 loc) · 2.65 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
name: 'TODO to Issue'
description: 'Converts IDE TODO comments to GitHub issues'
author: 'Alastair Mooney'
runs:
using: 'docker'
image: 'docker://ghcr.io/alstr/todo-to-issue-action:v4.9'
branding:
icon: 'check-square'
color: 'orange'
inputs:
REPO:
description: "The path to the repository where the action will be used, e.g. 'alstr/my-repo' (automatically set)"
required: false
default: '${{ github.repository }}'
BEFORE:
description: 'The SHA of the last pushed commit (automatically set)'
required: false
default: '${{ github.event.before || github.base_ref }}'
COMMITS:
description: 'An array of commit objects describing the pushed commits'
required: false
default: '${{ toJSON(github.event.commits) }}'
DIFF_URL:
description: 'The URL to use to get the diff (automatically set)'
required: false
default: '${{ github.event.pull_request.diff_url }}'
SHA:
description: 'The SHA of the latest commit (automatically set)'
required: false
default: '${{ github.sha }}'
TOKEN:
description: 'The GitHub access token to allow us to retrieve, create and update issues (automatically set)'
required: false
default: ${{ github.token }}
LABEL:
description: 'The label that will be used to identify TODO comments (deprecated)'
required: false
COMMENT_MARKER:
description: 'The marker used to signify a line comment in your code (deprecated)'
required: false
CLOSE_ISSUES:
description: 'Optional input that specifies whether to attempt to close an issue when a TODO is removed'
required: false
default: true
AUTO_P:
description: 'For multiline TODOs, format each line as a new paragraph when creating the issue'
required: false
default: true
PROJECTS_SECRET:
description: 'Encrypted secret corresponding to your personal access token (do not enter the actual secret)'
required: false
USER_PROJECTS:
description: 'Default user projects'
required: false
ORG_PROJECTS:
description: 'Default organisation projects'
required: false
IGNORE:
description: 'A collection of comma-delimited regular expression that matches files that should be ignored when searching for TODOs'
required: false
AUTO_ASSIGN:
description: 'Automatically assign new issues to the user who triggered the action'
required: false
default: false
ACTOR:
description: 'The username of the person who triggered the action'
required: false
default: '${{ github.actor }}'
ISSUE_TEMPLATE:
description: 'The template used to format new issues'
required: false
IDENTIFIERS:
description: 'Dictionary of custom identifiers'
required: false