This commit is contained in:
Michael Kret
2022-05-30 15:35:25 +03:00
1088 changed files with 23649 additions and 15702 deletions

View File

@@ -80,12 +80,12 @@ export class Github implements INodeType {
},
],
default: 'accessToken',
description: 'The resource to operate on.',
},
{
displayName: 'Resource',
name: 'resource',
type: 'options',
noDataExpression: true,
options: [
{
name: 'File',
@@ -117,7 +117,6 @@ export class Github implements INodeType {
},
],
default: 'issue',
description: 'The resource to operate on.',
},
@@ -153,6 +152,7 @@ export class Github implements INodeType {
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -164,37 +164,37 @@ export class Github implements INodeType {
{
name: 'Create',
value: 'create',
description: 'Create a new issue.',
description: 'Create a new issue',
},
{
name: 'Create Comment',
value: 'createComment',
description: 'Create a new comment on an issue.',
description: 'Create a new comment on an issue',
},
{
name: 'Edit',
value: 'edit',
description: 'Edit an issue.',
description: 'Edit an issue',
},
{
name: 'Get',
value: 'get',
description: 'Get the data of a single issue.',
description: 'Get the data of a single issue',
},
{
name: 'Lock',
value: 'lock',
description: 'Lock an issue.',
description: 'Lock an issue',
},
],
default: 'create',
description: 'The operation to perform.',
},
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -206,37 +206,37 @@ export class Github implements INodeType {
{
name: 'Create',
value: 'create',
description: 'Create a new file in repository.',
description: 'Create a new file in repository',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete a file in repository.',
description: 'Delete a file in repository',
},
{
name: 'Edit',
value: 'edit',
description: 'Edit a file in repository.',
description: 'Edit a file in repository',
},
{
name: 'Get',
value: 'get',
description: 'Get the data of a single file.',
description: 'Get the data of a single file',
},
{
name: 'List',
value: 'list',
description: 'List contents of a folder.',
description: 'List contents of a folder',
},
],
default: 'create',
description: 'The operation to perform.',
},
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -248,42 +248,42 @@ export class Github implements INodeType {
{
name: 'Get',
value: 'get',
description: 'Get the data of a single repository.',
description: 'Get the data of a single repository',
},
{
name: 'Get License',
value: 'getLicense',
description: 'Returns the contents of the repository\'s license file, if one is detected.',
description: 'Returns the contents of the repository\'s license file, if one is detected',
},
{
name: 'Get Issues',
value: 'getIssues',
description: 'Returns issues of a repository.',
description: 'Returns issues of a repository',
},
{
name: 'Get Profile',
value: 'getProfile',
description: 'Get the community profile of a repository with metrics, health score, description, license, etc.',
description: 'Get the community profile of a repository with metrics, health score, description, license, etc',
},
{
name: 'List Popular Paths',
value: 'listPopularPaths',
description: 'Get the top 10 popular content paths over the last 14 days.',
description: 'Get the top 10 popular content paths over the last 14 days',
},
{
name: 'List Referrers',
value: 'listReferrers',
description: 'Get the top 10 referrering domains over the last 14 days.',
description: 'Get the top 10 referrering domains over the last 14 days',
},
],
default: 'getIssues',
description: 'The operation to perform.',
},
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -295,22 +295,22 @@ export class Github implements INodeType {
{
name: 'Get Repositories',
value: 'getRepositories',
description: 'Returns the repositories of a user.',
description: 'Returns the repositories of a user',
},
{
name: 'Invite',
value: 'invite',
description: 'Invites a user to an organization.',
description: 'Invites a user to an organization',
},
],
default: 'getRepositories',
description: 'The operation to perform.',
},
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -322,37 +322,37 @@ export class Github implements INodeType {
{
name: 'Create',
value: 'create',
description: 'Creates a new release.',
description: 'Creates a new release',
},
{
name: 'Get',
value: 'get',
description: 'Get a release.',
description: 'Get a release',
},
{
name: 'Get All',
value: 'getAll',
description: 'Get all repository releases.',
description: 'Get all repository releases',
},
{
name: 'Delete',
value: 'delete',
description: 'Delete a release.',
description: 'Delete a release',
},
{
name: 'Update',
value: 'update',
description: 'Update a release.',
description: 'Update a release',
},
],
default: 'create',
description: 'The operation to perform.',
},
{
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -364,26 +364,25 @@ export class Github implements INodeType {
{
name: 'Create',
value: 'create',
description: 'Creates a new review.',
description: 'Creates a new review',
},
{
name: 'Get',
value: 'get',
description: 'Get a review for a pull request.',
description: 'Get a review for a pull request',
},
{
name: 'Get All',
value: 'getAll',
description: 'Get all reviews for a pull request.',
description: 'Get all reviews for a pull request',
},
{
name: 'Update',
value: 'update',
description: 'Update a review.',
description: 'Update a review',
},
],
default: 'create',
description: 'The operation to perform.',
},
// ----------------------------------
@@ -403,7 +402,7 @@ export class Github implements INodeType {
},
},
placeholder: 'n8n-io',
description: 'Owner of the repository.',
description: 'Owner of the repository',
},
{
displayName: 'Repository Name',
@@ -423,7 +422,7 @@ export class Github implements INodeType {
},
},
placeholder: 'n8n',
description: 'The name of the repository.',
description: 'The name of the repository',
},
@@ -465,7 +464,6 @@ export class Github implements INodeType {
name: 'filePath',
type: 'string',
default: '',
required: false,
displayOptions: {
show: {
resource: [
@@ -477,7 +475,7 @@ export class Github implements INodeType {
},
},
placeholder: 'docs/',
description: 'The path of the folder to list.',
description: 'The path of the folder to list',
},
// ----------------------------------
@@ -500,7 +498,7 @@ export class Github implements INodeType {
],
},
},
description: 'If the data to upload should be taken from binary field.',
description: 'If the data to upload should be taken from binary field',
},
{
displayName: 'File Content',
@@ -524,7 +522,7 @@ export class Github implements INodeType {
},
placeholder: '',
description: 'The text content of the file.',
description: 'The text content of the file',
},
{
displayName: 'Binary Property',
@@ -548,7 +546,7 @@ export class Github implements INodeType {
},
placeholder: '',
description: 'Name of the binary property which contains the data for the file.',
description: 'Name of the binary property which contains the data for the file',
},
{
displayName: 'Commit Message',
@@ -573,7 +571,7 @@ export class Github implements INodeType {
displayName: 'Additional Parameters',
name: 'additionalParameters',
placeholder: 'Add Parameter',
description: 'Additional fields to add.',
description: 'Additional fields to add',
type: 'fixedCollection',
default: {},
displayOptions: {
@@ -598,14 +596,14 @@ export class Github implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'The name of the author of the commit.',
description: 'The name of the author of the commit',
},
{
displayName: 'Email',
name: 'email',
type: 'string',
default: '',
description: 'The email of the author of the commit.',
description: 'The email of the author of the commit',
},
],
},
@@ -631,14 +629,14 @@ export class Github implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'The name of the committer of the commit.',
description: 'The name of the committer of the commit',
},
{
displayName: 'Email',
name: 'email',
type: 'string',
default: '',
description: 'The email of the committer of the commit.',
description: 'The email of the committer of the commit',
},
],
},
@@ -663,7 +661,7 @@ export class Github implements INodeType {
],
},
},
description: 'If set it will set the data of the file as binary property instead of returning the raw API response.',
description: 'If set it will set the data of the file as binary property instead of returning the raw API response',
},
{
displayName: 'Binary Property',
@@ -686,14 +684,14 @@ export class Github implements INodeType {
},
placeholder: '',
description: 'Name of the binary property in which to save the binary data of the received file.',
description: 'Name of the binary property in which to save the binary data of the received file',
},
{
displayName: 'Additional Parameters',
name: 'additionalParameters',
placeholder: 'Add Parameter',
description: 'Additional fields to add.',
description: 'Additional fields to add',
type: 'collection',
default: {},
displayOptions: {
@@ -741,7 +739,7 @@ export class Github implements INodeType {
],
},
},
description: 'The title of the issue.',
description: 'The title of the issue',
},
{
displayName: 'Body',
@@ -761,7 +759,7 @@ export class Github implements INodeType {
],
},
},
description: 'The body of the issue.',
description: 'The body of the issue',
},
{
displayName: 'Labels',
@@ -788,7 +786,7 @@ export class Github implements INodeType {
name: 'label',
type: 'string',
default: '',
description: 'Label to add to issue.',
description: 'Label to add to issue',
},
],
},
@@ -817,7 +815,7 @@ export class Github implements INodeType {
name: 'assignee',
type: 'string',
default: '',
description: 'User to assign issue too.',
description: 'User to assign issue too',
},
],
},
@@ -841,7 +839,7 @@ export class Github implements INodeType {
],
},
},
description: 'The number of the issue on which to create the comment on.',
description: 'The number of the issue on which to create the comment on',
},
{
displayName: 'Body',
@@ -861,7 +859,7 @@ export class Github implements INodeType {
},
},
default: '',
description: 'The body of the comment.',
description: 'The body of the comment',
},
// ----------------------------------
@@ -883,7 +881,7 @@ export class Github implements INodeType {
],
},
},
description: 'The number of the issue edit.',
description: 'The number of the issue edit',
},
{
displayName: 'Edit Fields',
@@ -909,7 +907,7 @@ export class Github implements INodeType {
name: 'title',
type: 'string',
default: '',
description: 'The title of the issue.',
description: 'The title of the issue',
},
{
displayName: 'Body',
@@ -919,7 +917,7 @@ export class Github implements INodeType {
rows: 5,
},
default: '',
description: 'The body of the issue.',
description: 'The body of the issue',
},
{
displayName: 'State',
@@ -929,16 +927,16 @@ export class Github implements INodeType {
{
name: 'Closed',
value: 'closed',
description: 'Set the state to "closed".',
description: 'Set the state to "closed"',
},
{
name: 'Open',
value: 'open',
description: 'Set the state to "open".',
description: 'Set the state to "open"',
},
],
default: 'open',
description: 'The state to set.',
description: 'The state to set',
},
{
displayName: 'Labels',
@@ -955,7 +953,7 @@ export class Github implements INodeType {
name: 'label',
type: 'string',
default: '',
description: 'Label to add to issue.',
description: 'Label to add to issue',
},
],
},
@@ -974,7 +972,7 @@ export class Github implements INodeType {
name: 'assignee',
type: 'string',
default: '',
description: 'User to assign issue to.',
description: 'User to assign issue to',
},
],
},
@@ -1000,7 +998,7 @@ export class Github implements INodeType {
],
},
},
description: 'The number of the issue get data of.',
description: 'The number of the issue get data of',
},
// ----------------------------------
@@ -1022,7 +1020,7 @@ export class Github implements INodeType {
],
},
},
description: 'The number of the issue to lock.',
description: 'The number of the issue to lock',
},
{
displayName: 'Lock Reason',
@@ -1061,7 +1059,7 @@ export class Github implements INodeType {
},
],
default: 'resolved',
description: 'The reason to lock the issue.',
description: 'The reason to lock the issue',
},
@@ -1089,7 +1087,7 @@ export class Github implements INodeType {
],
},
},
description: 'The tag of the release.',
description: 'The tag of the release',
},
{
displayName: 'Additional Fields',
@@ -1115,7 +1113,7 @@ export class Github implements INodeType {
name: 'name',
type: 'string',
default: '',
description: 'The name of the issue.',
description: 'The name of the issue',
},
{
displayName: 'Body',
@@ -1125,21 +1123,21 @@ export class Github implements INodeType {
rows: 5,
},
default: '',
description: 'The body of the release.',
description: 'The body of the release',
},
{
displayName: 'Draft',
name: 'draft',
type: 'boolean',
default: false,
description: 'Set "true" to create a draft (unpublished) release, "false" to create a published one.',
description: 'Set "true" to create a draft (unpublished) release, "false" to create a published one',
},
{
displayName: 'Prerelease',
name: 'prerelease',
type: 'boolean',
default: false,
description: 'If set to "true" it will point out that the release is non-production ready.',
description: 'If set to "true" it will point out that the release is non-production ready',
},
{
displayName: 'Target Commitish',
@@ -1204,35 +1202,35 @@ export class Github implements INodeType {
rows: 5,
},
default: '',
description: 'The body of the release.',
description: 'The body of the release',
},
{
displayName: 'Draft',
name: 'draft',
type: 'boolean',
default: false,
description: 'Set "true" to create a draft (unpublished) release, "false" to create a published one.',
description: 'Set "true" to create a draft (unpublished) release, "false" to create a published one',
},
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
description: 'The name of the release.',
description: 'The name of the release',
},
{
displayName: 'Prerelease',
name: 'prerelease',
type: 'boolean',
default: false,
description: 'If set to "true" it will point out that the release is non-production ready.',
description: 'If set to "true" it will point out that the release is non-production ready',
},
{
displayName: 'Tag Name',
name: 'tag_name',
type: 'string',
default: '',
description: 'The name of the tag.',
description: 'The name of the tag',
},
{
displayName: 'Target Commitish',
@@ -1261,7 +1259,7 @@ export class Github implements INodeType {
},
},
default: false,
description: 'If all results should be returned or only up to a given limit.',
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
@@ -1285,7 +1283,7 @@ export class Github implements INodeType {
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
@@ -1311,7 +1309,7 @@ export class Github implements INodeType {
},
},
default: false,
description: 'If all results should be returned or only up to a given limit.',
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
@@ -1335,7 +1333,7 @@ export class Github implements INodeType {
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
{
displayName: 'Filters',
@@ -1361,21 +1359,21 @@ export class Github implements INodeType {
name: 'assignee',
type: 'string',
default: '',
description: 'Return only issues which are assigned to a specific user.',
description: 'Return only issues which are assigned to a specific user',
},
{
displayName: 'Creator',
name: 'creator',
type: 'string',
default: '',
description: 'Return only issues which were created by a specific user.',
description: 'Return only issues which were created by a specific user',
},
{
displayName: 'Mentioned',
name: 'mentioned',
type: 'string',
default: '',
description: 'Return only issues in which a specific user was mentioned.',
description: 'Return only issues in which a specific user was mentioned',
},
{
displayName: 'Labels',
@@ -1389,7 +1387,7 @@ export class Github implements INodeType {
name: 'since',
type: 'dateTime',
default: '',
description: 'Return only issues updated at or after this time.',
description: 'Return only issues updated at or after this time',
},
{
displayName: 'State',
@@ -1399,21 +1397,21 @@ export class Github implements INodeType {
{
name: 'All',
value: 'all',
description: 'Returns issues with any state.',
description: 'Returns issues with any state',
},
{
name: 'Closed',
value: 'closed',
description: 'Return issues with "closed" state.',
description: 'Return issues with "closed" state',
},
{
name: 'Open',
value: 'open',
description: 'Return issues with "open" state.',
description: 'Return issues with "open" state',
},
],
default: 'open',
description: 'The state to set.',
description: 'The state to set',
},
{
displayName: 'Sort',
@@ -1423,21 +1421,21 @@ export class Github implements INodeType {
{
name: 'Created',
value: 'created',
description: 'Sort by created date.',
description: 'Sort by created date',
},
{
name: 'Updated',
value: 'updated',
description: 'Sort by updated date.',
description: 'Sort by updated date',
},
{
name: 'Comments',
value: 'comments',
description: 'Sort by comments.',
description: 'Sort by comments',
},
],
default: 'created',
description: 'The order the issues should be returned in.',
description: 'The order the issues should be returned in',
},
{
displayName: 'Direction',
@@ -1447,16 +1445,16 @@ export class Github implements INodeType {
{
name: 'Ascending',
value: 'asc',
description: 'Sort in ascending order.',
description: 'Sort in ascending order',
},
{
name: 'Descending',
value: 'desc',
description: 'Sort in descending order.',
description: 'Sort in descending order',
},
],
default: 'desc',
description: 'The sort order.',
description: 'The sort order',
},
],
@@ -1486,7 +1484,7 @@ export class Github implements INodeType {
],
},
},
description: 'The number of the pull request.',
description: 'The number of the pull request',
},
{
displayName: 'Review ID',
@@ -1505,7 +1503,7 @@ export class Github implements INodeType {
],
},
},
description: 'ID of the review.',
description: 'ID of the review',
},
// ----------------------------------
@@ -1527,7 +1525,7 @@ export class Github implements INodeType {
],
},
},
description: 'The number of the pull request.',
description: 'The number of the pull request',
},
{
displayName: 'Return All',
@@ -1544,7 +1542,7 @@ export class Github implements INodeType {
},
},
default: false,
description: 'If all results should be returned or only up to a given limit.',
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
@@ -1568,7 +1566,7 @@ export class Github implements INodeType {
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
// ----------------------------------
// review:create
@@ -1589,7 +1587,7 @@ export class Github implements INodeType {
],
},
},
description: 'The number of the pull request to review.',
description: 'The number of the pull request to review',
},
{
displayName: 'Event',
@@ -1609,26 +1607,26 @@ export class Github implements INodeType {
{
name: 'Approve',
value: 'approve',
description: 'Approve the pull request.',
description: 'Approve the pull request',
},
{
name: 'Request Change',
value: 'requestChanges',
description: 'Request code changes.',
description: 'Request code changes',
},
{
name: 'Comment',
value: 'comment',
description: 'Add a comment without approval or change requests.',
description: 'Add a comment without approval or change requests',
},
{
name: 'Pending',
value: 'pending',
description: 'You will need to submit the pull request review when you are ready.',
description: 'You will need to submit the pull request review when you are ready',
},
],
default: 'approve',
description: 'The review action you want to perform.',
description: 'The review action you want to perform',
},
{
displayName: 'Body',
@@ -1652,7 +1650,7 @@ export class Github implements INodeType {
},
},
default: '',
description: 'The body of the review (required for events Request Changes or Comment).',
description: 'The body of the review (required for events Request Changes or Comment)',
},
{
displayName: 'Additional Fields',
@@ -1676,7 +1674,7 @@ export class Github implements INodeType {
name: 'commitId',
type: 'string',
default: '',
description: 'The SHA of the commit that needs a review, if different from the latest.',
description: 'The SHA of the commit that needs a review, if different from the latest',
},
],
},
@@ -1721,7 +1719,7 @@ export class Github implements INodeType {
},
},
default: false,
description: 'If all results should be returned or only up to a given limit.',
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
@@ -1745,9 +1743,7 @@ export class Github implements INodeType {
maxValue: 100,
},
default: 50,
description: 'How many results to return.',
description: 'Max number of results to return',
},
// ----------------------------------
@@ -1769,7 +1765,7 @@ export class Github implements INodeType {
],
},
},
description: 'The GitHub organization that the user is being invited to.',
description: 'The GitHub organization that the user is being invited to',
},
{
displayName: 'Email',
@@ -1787,7 +1783,7 @@ export class Github implements INodeType {
],
},
},
description: 'The email address of the invited user.',
description: 'The email address of the invited user',
},
],
};

View File

@@ -79,7 +79,6 @@ export class GithubTrigger implements INodeType {
},
],
default: 'accessToken',
description: 'The resource to operate on.',
},
{
displayName: 'Repository Owner',
@@ -88,7 +87,7 @@ export class GithubTrigger implements INodeType {
default: '',
required: true,
placeholder: 'n8n-io',
description: 'Owner of the repsitory.',
description: 'Owner of the repsitory',
},
{
displayName: 'Repository Name',
@@ -97,7 +96,7 @@ export class GithubTrigger implements INodeType {
default: '',
required: true,
placeholder: 'n8n',
description: 'The name of the repsitory.',
description: 'The name of the repsitory',
},
{
displayName: 'Events',
@@ -107,22 +106,22 @@ export class GithubTrigger implements INodeType {
{
name: '*',
value: '*',
description: 'Any time any event is triggered (Wildcard Event).',
description: 'Any time any event is triggered (Wildcard Event)',
},
{
name: 'check_run',
value: 'check_run',
description: 'Triggered when a check run is created, rerequested, completed, or has a requested_action.',
description: 'Triggered when a check run is created, rerequested, completed, or has a requested_action',
},
{
name: 'check_suite',
value: 'check_suite',
description: 'Triggered when a check suite is completed, requested, or rerequested.',
description: 'Triggered when a check suite is completed, requested, or rerequested',
},
{
name: 'commit_comment',
value: 'commit_comment',
description: 'Triggered when a commit comment is created.',
description: 'Triggered when a commit comment is created',
},
{
name: 'content_reference',
@@ -132,42 +131,42 @@ export class GithubTrigger implements INodeType {
{
name: 'create',
value: 'create',
description: 'Represents a created repository, branch, or tag.',
description: 'Represents a created repository, branch, or tag',
},
{
name: 'delete',
value: 'delete',
description: 'Represents a deleted branch or tag.',
description: 'Represents a deleted branch or tag',
},
{
name: 'deploy_key',
value: 'deploy_key',
description: 'Triggered when a deploy key is added or removed from a repository.',
description: 'Triggered when a deploy key is added or removed from a repository',
},
{
name: 'deployment',
value: 'deployment',
description: 'Represents a deployment.',
description: 'Represents a deployment',
},
{
name: 'deployment_status',
value: 'deployment_status',
description: 'Represents a deployment status.',
description: 'Represents a deployment status',
},
{
name: 'fork',
value: 'fork',
description: 'Triggered when a user forks a repository.',
description: 'Triggered when a user forks a repository',
},
{
name: 'github_app_authorization',
value: 'github_app_authorization',
description: 'Triggered when someone revokes their authorization of a GitHub App.',
description: 'Triggered when someone revokes their authorization of a GitHub App',
},
{
name: 'gollum',
value: 'gollum',
description: 'Triggered when a Wiki page is created or updated.',
description: 'Triggered when a Wiki page is created or updated',
},
{
name: 'installation',
@@ -177,32 +176,32 @@ export class GithubTrigger implements INodeType {
{
name: 'installation_repositories',
value: 'installation_repositories',
description: 'Triggered when a repository is added or removed from an installation.',
description: 'Triggered when a repository is added or removed from an installation',
},
{
name: 'issue_comment',
value: 'issue_comment',
description: 'Triggered when an issue comment is created, edited, or deleted.',
description: 'Triggered when an issue comment is created, edited, or deleted',
},
{
name: 'issues',
value: 'issues',
description: 'Triggered when an issue is opened, edited, deleted, transferred, pinned, unpinned, closed, reopened, assigned, unassigned, labeled, unlabeled, locked, unlocked, milestoned, or demilestoned.',
description: 'Triggered when an issue is opened, edited, deleted, transferred, pinned, unpinned, closed, reopened, assigned, unassigned, labeled, unlabeled, locked, unlocked, milestoned, or demilestoned',
},
{
name: 'label',
value: 'label',
description: 'Triggered when a repository\'s label is created, edited, or deleted.',
description: 'Triggered when a repository\'s label is created, edited, or deleted',
},
{
name: 'marketplace_purchase',
value: 'marketplace_purchase',
description: 'Triggered when someone purchases a GitHub Marketplace plan, cancels their plan, upgrades their plan (effective immediately), downgrades a plan that remains pending until the end of the billing cycle, or cancels a pending plan change.',
description: 'Triggered when someone purchases a GitHub Marketplace plan, cancels their plan, upgrades their plan (effective immediately), downgrades a plan that remains pending until the end of the billing cycle, or cancels a pending plan change',
},
{
name: 'member',
value: 'member',
description: 'Triggered when a user accepts an invitation or is removed as a collaborator to a repository, or has their permissions changed.',
description: 'Triggered when a user accepts an invitation or is removed as a collaborator to a repository, or has their permissions changed',
},
{
name: 'membership',
@@ -212,12 +211,12 @@ export class GithubTrigger implements INodeType {
{
name: 'meta',
value: 'meta',
description: 'Triggered when the webhook that this event is configured on is deleted.',
description: 'Triggered when the webhook that this event is configured on is deleted',
},
{
name: 'milestone',
value: 'milestone',
description: 'Triggered when a milestone is created, closed, opened, edited, or deleted.',
description: 'Triggered when a milestone is created, closed, opened, edited, or deleted',
},
{
name: 'organization',
@@ -232,43 +231,43 @@ export class GithubTrigger implements INodeType {
{
name: 'page_build',
value: 'page_build',
description: 'Triggered on push to a GitHub Pages enabled branch (gh-pages for project pages, master for user and organization pages).',
description: 'Triggered on push to a GitHub Pages enabled branch (gh-pages for project pages, master for user and organization pages)',
},
{
name: 'project_card',
value: 'project_card',
description: 'Triggered when a project card is created, edited, moved, converted to an issue, or deleted.',
description: 'Triggered when a project card is created, edited, moved, converted to an issue, or deleted',
},
{
name: 'project_column',
value: 'project_column',
description: 'Triggered when a project column is created, updated, moved, or deleted.',
description: 'Triggered when a project column is created, updated, moved, or deleted',
},
{
name: 'project',
value: 'project',
description: 'Triggered when a project is created, updated, closed, reopened, or deleted.',
description: 'Triggered when a project is created, updated, closed, reopened, or deleted',
},
{
name: 'public',
value: 'public',
description: 'Triggered when a private repository is open sourced.',
description: 'Triggered when a private repository is open sourced',
},
{
name: 'pull_request',
value: 'pull_request',
description: 'Triggered when a pull request is assigned, unassigned, labeled, unlabeled, opened, edited, closed, reopened, synchronize, ready_for_review, locked, unlocked, a pull request review is requested, or a review request is removed.',
description: 'Triggered when a pull request is assigned, unassigned, labeled, unlabeled, opened, edited, closed, reopened, synchronize, ready_for_review, locked, unlocked, a pull request review is requested, or a review request is removed',
},
{
name: 'pull_request_review',
value: 'pull_request_review',
description: 'Triggered when a pull request review is submitted into a non-pending state, the body is edited, or the review is dismissed.',
description: 'Triggered when a pull request review is submitted into a non-pending state, the body is edited, or the review is dismissed',
},
{
name: 'pull_request_review_comment',
value: 'pull_request_review_comment',
description: 'Triggered when a comment on a pull request\'s unified diff is created, edited, or deleted (in the Files Changed tab).',
description: 'Triggered when a comment on a pull request\'s unified diff is created, edited, or deleted (in the Files Changed tab)',
},
{
name: 'push',
@@ -278,7 +277,7 @@ export class GithubTrigger implements INodeType {
{
name: 'release',
value: 'release',
description: 'Triggered when a release is published, unpublished, created, edited, deleted, or prereleased.',
description: 'Triggered when a release is published, unpublished, created, edited, deleted, or prereleased',
},
{
name: 'repository',
@@ -288,27 +287,27 @@ export class GithubTrigger implements INodeType {
{
name: 'repository_import',
value: 'repository_import',
description: 'Triggered when a successful, cancelled, or failed repository import finishes for a GitHub organization or a personal repository.',
description: 'Triggered when a successful, cancelled, or failed repository import finishes for a GitHub organization or a personal repository',
},
{
name: 'repository_vulnerability_alert',
value: 'repository_vulnerability_alert',
description: 'Triggered when a security alert is created, dismissed, or resolved.',
description: 'Triggered when a security alert is created, dismissed, or resolved',
},
{
name: 'security_advisory',
value: 'security_advisory',
description: 'Triggered when a new security advisory is published, updated, or withdrawn.',
description: 'Triggered when a new security advisory is published, updated, or withdrawn',
},
{
name: 'star',
value: 'star',
description: 'Triggered when a star is added or removed from a repository.',
description: 'Triggered when a star is added or removed from a repository',
},
{
name: 'status',
value: 'status',
description: 'Triggered when the status of a Git commit changes.',
description: 'Triggered when the status of a Git commit changes',
},
{
name: 'team',
@@ -318,17 +317,17 @@ export class GithubTrigger implements INodeType {
{
name: 'team_add',
value: 'team_add',
description: 'Triggered when a repository is added to a team.',
description: 'Triggered when a repository is added to a team',
},
{
name: 'watch',
value: 'watch',
description: 'Triggered when someone stars a repository.',
description: 'Triggered when someone stars a repository',
},
],
required: true,
default: [],
description: 'The events to listen to.',
description: 'The events to listen to',
},
],
};