Skip to content

Commit

Permalink
API Coverage: Add Support for Deployment Environments (#395)
Browse files Browse the repository at this point in the history
Adds the following new cmdlets for managing GitHub Deployment Environments:

- `New-GitHubDeploymentEnvironment`
- `Get-GitHubDeploymentEnvironment`
- `Set-GitHubDeploymentEnvironment`
- `Remove-GitHubDeploymentEnvironment`

Fixes #394

#### References

-  [Deployment Environments](https://docs.github.com/en/rest/deployments/environments)
  • Loading branch information
X-Guardian authored Apr 30, 2023
1 parent 43d5392 commit dd844e5
Show file tree
Hide file tree
Showing 6 changed files with 894 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Formatters/GitHubDeployments.Format.ps1xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
<ViewDefinitions>
<!--=============== GitHub.DeploymentEnvironment Type View ===============-->
<View>
<Name>GitHub.DeploymentEnvironment</Name>
<ViewSelectedBy>
<TypeName>GitHub.DeploymentEnvironment</TypeName>
</ViewSelectedBy>
<TableControl>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>RepositoryUrl</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>EnvironmentName</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
</ViewDefinitions>
</Configuration>
Loading

0 comments on commit dd844e5

Please sign in to comment.