-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
42 lines (38 loc) · 1.27 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
name: 'Open Issue Action'
description: 'Github Action to open a new issue on ANY Github repository that the Personal Access Token (PAT) has access to 🤖'
inputs:
access-token:
description: 'Personal Access Token (https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)'
required: true
repo-owner:
description: 'Owner of the new issue repository'
required: true
repo-name:
description: 'Name of the new issue repository'
required: true
issue-title:
description: 'Issue title'
required: true
issue-body:
description: 'Issue message body'
required: true
issue-labels:
description: 'Issue labels (separated with coma , if more than one)'
required: false
issue-assignees:
description: 'Issue assignees (separated with coma , if more than one)'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.access-token }}
- ${{ inputs.repo-owner }}
- ${{ inputs.repo-name }}
- ${{ inputs.issue-title }}
- ${{ inputs.issue-body }}
- ${{ inputs.issue-labels }}
- ${{ inputs.issue-assignees }}
branding:
icon: 'external-link'
color: 'blue'