Skip to content

Commit

Permalink
Merge pull request #2300 from opengovern/fix_configs_github
Browse files Browse the repository at this point in the history
feat: added new params
  • Loading branch information
mohamadch91 authored Dec 22, 2024
2 parents 03f0096 + 316c5b7 commit 370801a
Showing 1 changed file with 52 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,68 @@ var ResourceTypeConfigs = map[string]*interfaces.ResourceTypeConfiguration{
Name: "Github/Container/Package",
IntegrationType: IntegrationTypeGithubAccount,
Description: "",
Params: []interfaces.Param{},
Params: []interfaces.Param{
{
Name: "organization",
Description: `Please provide the organization name`,
Required: false,
},
},
},
"Github/Repository": {
Name: "Github/Repository",
IntegrationType: IntegrationTypeGithubAccount,
Description: "",
Params: []interfaces.Param{
{
Name: "repository_name",
Name: "repository",
Description: `Please provide the repo name (i.e. "internal-tools")`,
Required: false,
},
{
Name: "organization",
Description: `Please provide the organization name`,
Required: false,
},
},
},
"Github/Artifact/DockerFile": {
Name: "Github/Artifact/DockerFile",
IntegrationType: IntegrationTypeGithubAccount,
Description: "",
Params: []interfaces.Param{
{
Name: "repository",
Description: `Please provide the repo name (i.e. "internal-tools")`,
Required: false,
},
{
Name: "organization",
Description: `Please provide the organization name`,
Required: false,
},
},
},
"Github/Actions/WorkflowRun": {
Name: "Github/Actions/WorkflowRun",
IntegrationType: IntegrationTypeGithubAccount,
Description: "",
Params: []interfaces.Param{
{
Name: "repository",
Description: `Please provide the repo name (i.e. "internal-tools")`,
Required: false,
},
{
Name: "organization",
Description: `Please provide the organization name`,
Required: false,
},
{
Name: "run_number",
Description: `Please provide the run number`,
Required: false,
},
},
},
}

0 comments on commit 370801a

Please sign in to comment.