-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
executable file
·61 lines (57 loc) · 2.22 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
name: "Sponsor Gated Support"
description: "A GitHub Action designed to ensure that only sponsors and recognized contributors have access to support"
author: "Jacky Liang"
branding:
icon: "star"
color: "orange"
inputs:
GITHUB_PERSONAL_ACCESS_TOKEN:
description: "Personal access token from GitHub used to fetch your sponsors"
required: true
default: ""
GITHUB_WORKFLOW_TOKEN:
description: "Workflow token from GitHub used to perform issue and issue comment moderation"
required: true
default: ""
ISSUE_LABELS:
description: "Only set limits on issues with these labels (comma de-limited list)"
required: false
default: "support"
ISSUE_LIMIT_COMMENTER:
description: "Allow only the sponsoring user (that opened the issue) and contributor to comment on issues"
required: false
default: "true"
ISSUE_LOCK_ON_CLOSE:
description: "Lock issues as soon as they become closed"
required: false
default: "true"
ISSUE_MESSAGE_NOT_SPONSOR:
description: "Message to send when a non-sponsoring user opens an issue"
required: false
default: "Apologies! Only sponsoring users are allowed to open issues. Please sponsor the owner of this repository, then try again."
ISSUE_MESSAGE_WELCOME:
description: "Message to send when a sponsoring user opens an issue"
required: false
default: "Thank you for your support! We appreciate your sponsorship and are here to help. We will review your issue and get back to you as soon as possible."
IS_ORGANIZATION:
description: "If this workflow is being used on an organization-owned repository"
required: false
default: "false"
SPONSOR_ACTIVE_ONLY:
description: "Allow only active sponsoring users to open issues"
required: false
default: "true"
SPONSOR_EXEMPT_FILE_LOCATION:
description: "A list of users that are exempt from sponsorship requirement"
required: false
default: "./SPONSOR_EXEMPT"
SPONSOR_MINIMUM:
description: "Allow only sponsoring users that reach this minimum amount (in cents) to open issues"
required: false
default: "0"
outputs:
result:
description: "The success or failure response after the action has completed"
runs:
using: "node20"
main: "./build/index.js"