Backstage
Docs
Github
Preparing search index...
@backstage/plugin-scaffolder-backend-module-github
createGithubWebhookAction
Function createGithubWebhookAction
createGithubWebhookAction
(
options
:
{
defaultWebhookSecret
?:
string
;
githubCredentialsProvider
?:
GithubCredentialsProvider
;
integrations
:
ScmIntegrationRegistry
;
}
,
)
:
TemplateAction
<
{
active
?:
boolean
;
contentType
?:
"form"
|
"json"
;
events
?:
string
[]
|
"*"
[]
;
insecureSsl
?:
boolean
;
repoUrl
:
string
;
token
?:
string
;
webhookSecret
?:
string
;
webhookUrl
:
string
;
}
,
{
[
key
:
string
]:
any
}
,
"v2"
,
>
Creates new action that creates a webhook for a repository on GitHub.
Parameters
options
:
{
defaultWebhookSecret
?:
string
;
githubCredentialsProvider
?:
GithubCredentialsProvider
;
integrations
:
ScmIntegrationRegistry
;
}
Returns
TemplateAction
<
{
active
?:
boolean
;
contentType
?:
"form"
|
"json"
;
events
?:
string
[]
|
"*"
[]
;
insecureSsl
?:
boolean
;
repoUrl
:
string
;
token
?:
string
;
webhookSecret
?:
string
;
webhookUrl
:
string
;
}
,
{
[
key
:
string
]:
any
}
,
"v2"
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
Creates new action that creates a webhook for a repository on GitHub.