PowerShellForGitHub icon indicating copy to clipboard operation
PowerShellForGitHub copied to clipboard

New/Set-GitHubRepository: Add AllowAutoMerge and UseSquashPrTitleAsDefault Parameters

Open X-Guardian opened this issue 3 years ago • 3 comments

Description

This PR adds the following parameters to the New-GitHubRepository and Set-GitHubRepository functions:

  • AllowAutoMerge
  • UseSquashPrTitleAsDefault

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

X-Guardian avatar Jul 21 '22 18:07 X-Guardian

/azp run PowerShellForGitHub-CI

HowardWolosky avatar Jul 25 '22 18:07 HowardWolosky

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jul 25 '22 18:07 azure-pipelines[bot]

@X-Guardian -- you have this as a Draft. Anything else you were planning to do with it before wanting it merged in?

HowardWolosky avatar Jul 26 '22 22:07 HowardWolosky

@HowardWolosky , this PR is ready for merging.

X-Guardian avatar Oct 15 '22 12:10 X-Guardian