-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
49 lines (49 loc) · 1.85 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
name: Project Link
description: Automatically add PRs to GitHub projects based on the base branch
author: The Events Calendar
branding:
icon: layout
color: white
inputs:
owner-type:
required: true
default: 'organization'
description: The type of the owner of the repository. Can be either 'organization' or 'user'
project-owner:
required: true
description: The Login of the owner in case we create a project.
base-branch-pattern:
required: false
default: '*'
description: A glob pattern to match the base branch name. If not provided, the action will match all base branches
name-prefix-remove:
required: false
description: A string that will be removed if it is found at the beginning of the base branch name
name-suffix-remove:
required: false
description: A string that will be removed if it is found at the end of the base branch name
name-replace-with-spaces:
default: '_'
required: false
description: A set of chars that will be replaced with spaces in the base branch name
template-project-url:
required: false
description: Which template to use to create the project. If not provided, the default project template will be used.
template-project-number:
required: false
description: The number of the project to use as a template.
labeled:
required: false
description: A comma-separated list of labels to use as a filter for issue to be added
label-operator:
required: false
description: The behavior of the labels filter, AND to match all labels, OR to match any label, NOT to exclude any listed label (default is OR)
github-token:
required: true
description: A GitHub personal access token with write access to the project
outputs:
itemId:
description: The ID of the item that was added to the project
runs:
using: 'node20'
main: 'dist/index.js'