PowerShellForGitHub
PowerShellForGitHub copied to clipboard
New/Set-GitHubRepository: Add AllowAutoMerge and UseSquashPrTitleAsDefault Parameters
Description
This PR adds the following parameters to the New-GitHubRepository and Set-GitHubRepository functions:
AllowAutoMergeUseSquashPrTitleAsDefault
Issues Fixed
- Fixes #357
References
- https://docs.github.com/en/rest/repos/repos#create-an-organization-repository
- https://docs.github.com/en/rest/repos/repos#update-a-repository
Checklist
- [ ] You actually ran the code that you just wrote, especially if you did just "one last quick change".
- [ ] Comment-based help added/updated, including examples.
- [ ] Static analysis is reporting back clean.
- [ ] New/changed code adheres to our coding guidelines.
- [ ] Formatters were created for any new types being added.
- [ ] New/changed code continues to support the pipeline.
- [ ] Changes to the manifest file follow the manifest guidance.
- [ ] Unit tests were added/updated and are all passing. See testing guidelines. This includes making sure that all pipeline input variations have been covered.
- [ ] Relevant usage examples have been added/updated in USAGE.md.
- [ ] If desired, ensure your name is added to our Contributors list
/azp run PowerShellForGitHub-CI
Azure Pipelines successfully started running 1 pipeline(s).
@X-Guardian -- you have this as a Draft. Anything else you were planning to do with it before wanting it merged in?
@HowardWolosky , this PR is ready for merging.