Skip to content

Commit

Permalink
Merge pull request #224 from stackql/feature/provider
Browse files Browse the repository at this point in the history
`github` provider updates
  • Loading branch information
jeffreyaven authored Apr 23, 2024
2 parents 92cb381 + 1eafeed commit 838c61f
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 32 deletions.
63 changes: 38 additions & 25 deletions providers/src/github/v00.00.00000/services/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30558,7 +30558,8 @@ components:
select:
- $ref: '#/components/x-stackQL-resources/org_secrets/methods/get_org_secret'
- $ref: '#/components/x-stackQL-resources/org_secrets/methods/list_org_secrets'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/org_secrets/methods/create_or_update_org_secret'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/org_secrets/methods/delete_org_secret'
Expand Down Expand Up @@ -31091,70 +31092,82 @@ components:
insert: []
update: []
delete: []
secrets:
id: github.actions.secrets
name: secrets
title: Secrets
environment_secrets:
id: github.actions.environment_secrets
name: environment_secrets
title: Environment Secrets
methods:
list_repo_secrets:
list_environment_secrets:
operation:
$ref: '#/paths/~1repos~1{owner}~1{repo}~1actions~1secrets/get'
$ref: '#/paths/~1repositories~1{repository_id}~1environments~1{environment_name}~1secrets/get'
response:
mediaType: application/json
openAPIDocKey: '200'
get_repo_secret:
get_environment_secret:
operation:
$ref: '#/paths/~1repos~1{owner}~1{repo}~1actions~1secrets~1{secret_name}/get'
$ref: '#/paths/~1repositories~1{repository_id}~1environments~1{environment_name}~1secrets~1{secret_name}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
create_or_update_repo_secret:
create_or_update_environment_secret:
operation:
$ref: '#/paths/~1repos~1{owner}~1{repo}~1actions~1secrets~1{secret_name}/put'
$ref: '#/paths/~1repositories~1{repository_id}~1environments~1{environment_name}~1secrets~1{secret_name}/put'
response:
mediaType: application/json
openAPIDocKey: '200'
delete_repo_secret:
delete_environment_secret:
operation:
$ref: '#/paths/~1repos~1{owner}~1{repo}~1actions~1secrets~1{secret_name}/delete'
$ref: '#/paths/~1repositories~1{repository_id}~1environments~1{environment_name}~1secrets~1{secret_name}/delete'
response:
mediaType: application/json
openAPIDocKey: '200'
list_environment_secrets:
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/environment_secrets/methods/get_environment_secret'
- $ref: '#/components/x-stackQL-resources/environment_secrets/methods/list_environment_secrets'
insert:
- $ref: '#/components/x-stackQL-resources/environment_secrets/methods/create_or_update_environment_secret'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/environment_secrets/methods/delete_environment_secret'
secrets:
id: github.actions.secrets
name: secrets
title: Secrets
methods:
list_repo_secrets:
operation:
$ref: '#/paths/~1repositories~1{repository_id}~1environments~1{environment_name}~1secrets/get'
$ref: '#/paths/~1repos~1{owner}~1{repo}~1actions~1secrets/get'
response:
mediaType: application/json
openAPIDocKey: '200'
get_environment_secret:
get_repo_secret:
operation:
$ref: '#/paths/~1repositories~1{repository_id}~1environments~1{environment_name}~1secrets~1{secret_name}/get'
$ref: '#/paths/~1repos~1{owner}~1{repo}~1actions~1secrets~1{secret_name}/get'
response:
mediaType: application/json
openAPIDocKey: '200'
create_or_update_environment_secret:
create_or_update_repo_secret:
operation:
$ref: '#/paths/~1repositories~1{repository_id}~1environments~1{environment_name}~1secrets~1{secret_name}/put'
$ref: '#/paths/~1repos~1{owner}~1{repo}~1actions~1secrets~1{secret_name}/put'
response:
mediaType: application/json
openAPIDocKey: '200'
delete_environment_secret:
delete_repo_secret:
operation:
$ref: '#/paths/~1repositories~1{repository_id}~1environments~1{environment_name}~1secrets~1{secret_name}/delete'
$ref: '#/paths/~1repos~1{owner}~1{repo}~1actions~1secrets~1{secret_name}/delete'
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
select:
- $ref: '#/components/x-stackQL-resources/secrets/methods/get_repo_secret'
- $ref: '#/components/x-stackQL-resources/secrets/methods/get_environment_secret'
- $ref: '#/components/x-stackQL-resources/secrets/methods/list_repo_secrets'
- $ref: '#/components/x-stackQL-resources/secrets/methods/list_environment_secrets'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/secrets/methods/create_or_update_repo_secret'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/secrets/methods/delete_repo_secret'
- $ref: '#/components/x-stackQL-resources/secrets/methods/delete_environment_secret'
variables:
id: github.actions.variables
name: variables
Expand Down
9 changes: 6 additions & 3 deletions providers/src/github/v00.00.00000/services/codespaces.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29662,7 +29662,8 @@ components:
select:
- $ref: '#/components/x-stackQL-resources/organization_secrets/methods/get_org_secret'
- $ref: '#/components/x-stackQL-resources/organization_secrets/methods/list_org_secrets'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/organization_secrets/methods/create_or_update_org_secret'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/organization_secrets/methods/delete_org_secret'
Expand Down Expand Up @@ -29882,7 +29883,8 @@ components:
select:
- $ref: '#/components/x-stackQL-resources/repository_secrets/methods/get_repo_secret'
- $ref: '#/components/x-stackQL-resources/repository_secrets/methods/list_repo_secrets'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/repository_secrets/methods/create_or_update_repo_secret'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/repository_secrets/methods/delete_repo_secret'
Expand Down Expand Up @@ -29919,7 +29921,8 @@ components:
select:
- $ref: '#/components/x-stackQL-resources/secrets/methods/get_secret_for_authenticated_user'
- $ref: '#/components/x-stackQL-resources/secrets/methods/list_secrets_for_authenticated_user'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/secrets/methods/create_or_update_secret_for_authenticated_user'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/secrets/methods/delete_secret_for_authenticated_user'
Expand Down
6 changes: 4 additions & 2 deletions providers/src/github/v00.00.00000/services/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28314,7 +28314,8 @@ components:
select:
- $ref: '#/components/x-stackQL-resources/org_secrets/methods/get_org_secret'
- $ref: '#/components/x-stackQL-resources/org_secrets/methods/list_org_secrets'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/org_secrets/methods/create_or_update_org_secret'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/org_secrets/methods/delete_org_secret'
Expand Down Expand Up @@ -28441,7 +28442,8 @@ components:
select:
- $ref: '#/components/x-stackQL-resources/secrets/methods/get_repo_secret'
- $ref: '#/components/x-stackQL-resources/secrets/methods/list_repo_secrets'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/secrets/methods/create_or_update_repo_secret'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/secrets/methods/delete_repo_secret'
Expand Down
6 changes: 4 additions & 2 deletions providers/src/github/v00.00.00000/services/repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34864,7 +34864,8 @@ components:
select:
- $ref: '#/components/x-stackQL-resources/contents/methods/get_readme_in_directory'
- $ref: '#/components/x-stackQL-resources/contents/methods/get_readme'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/contents/methods/create_or_update_file_contents'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/contents/methods/delete_file'
Expand Down Expand Up @@ -34987,7 +34988,8 @@ components:
select:
- $ref: '#/components/x-stackQL-resources/environments/methods/get_environment'
- $ref: '#/components/x-stackQL-resources/environments/methods/get_all_environments'
insert: []
insert:
- $ref: '#/components/x-stackQL-resources/environments/methods/create_or_update_environment'
update: []
delete:
- $ref: '#/components/x-stackQL-resources/environments/methods/delete_an_environment'
Expand Down

0 comments on commit 838c61f

Please sign in to comment.