Backstage
Docs
Github
Preparing search index...
@backstage/plugin-scaffolder-backend-module-github
createGithubActionsDispatchAction
Function createGithubActionsDispatchAction
createGithubActionsDispatchAction
(
options
:
{
githubCredentialsProvider
?:
GithubCredentialsProvider
;
integrations
:
ScmIntegrations
;
}
,
)
:
TemplateAction
<
{
branchOrTagName
:
string
;
repoUrl
:
string
;
token
?:
string
;
workflowId
:
string
;
workflowInputs
?:
Record
<
string
,
string
>
;
}
,
{
[
key
:
string
]:
any
}
,
"v2"
,
>
Creates a new action that dispatches a GitHub Action workflow for a given branch or tag.
Parameters
options
:
{
githubCredentialsProvider
?:
GithubCredentialsProvider
;
integrations
:
ScmIntegrations
;
}
Returns
TemplateAction
<
{
branchOrTagName
:
string
;
repoUrl
:
string
;
token
?:
string
;
workflowId
:
string
;
workflowInputs
?:
Record
<
string
,
string
>
;
}
,
{
[
key
:
string
]:
any
}
,
"v2"
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
Github
Backstage
Loading...
Creates a new action that dispatches a GitHub Action workflow for a given branch or tag.