-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
37 lines (37 loc) · 1.08 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
name: Closed Reference Notifier
description:
GitHub action that opens an issue when a in-code refered issue/pull request is
closed
inputs:
token:
description: secrets.GITHUB_TOKEN
required: true
ignore:
description: ignore directories, comma seperated list
required: false
default: .git
issueLabels:
description: the labels to create issues with, comma seperated list
required: false
default: closed reference
issueLimit:
description: the maximum number of issues to create
required: false
default: "5"
runs:
using: composite
steps:
# requires actions within actions as tracked in https://github.com/actions/runner/issues/646
# - uses: actions/setup-node@v2-beta
# with:
# node-version: '14'
- run: node ${{ github.action_path }}/distAction/index.js
shell: bash
env:
INPUT_TOKEN: ${{ inputs.token }}
INPUT_IGNORE: ${{ inputs.ignore }}
INPUT_ISSUELABELS: ${{ inputs.issueLabels }}
INPUT_ISSUELIMIT: ${{ inputs.issueLimit }}
branding:
color: red
icon: hash