-
Notifications
You must be signed in to change notification settings - Fork 7
/
action.yml
36 lines (36 loc) · 1.2 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
name: 'issue-creator'
description: 'Periodically create GitHub issue'
inputs:
template-issue:
description: 'Specify the issue number of the template in the repository. e.g. 1'
default: ""
required: false
template-issue-url:
description: 'Specify the issue url of the template. e.g. https://github.com/rerost/issue-creator/issues/1'
default: ""
required: false
close-last-issue:
description: 'If true, issue-creator closes the previous issue.'
default: true
check-before-create-issue:
description: 'The issue will be created only when the status code of this script is 0.'
default: "echo 'OK'"
token:
default: ${{ github.token }}
discussion:
description: 'If true, creates a discussion instead.'
default: false
repository:
description: 'Specify a repository where the issue will be created. e.g. rerost/issue-creator'
default: ${{ github.repository }}
runs:
using: "docker"
image: 'Dockerfile.actions'
args:
- ${{ inputs.template-issue-url }}
- ${{ inputs.repository }}
- ${{ inputs.template-issue }}
- ${{ inputs.close-last-issue }}
- ${{ inputs.check-before-create-issue }}
- ${{ inputs.token }}
- ${{ inputs.discussion }}