Feat: Add missing branch protection fields incl. lock_branch#2378
Feat: Add missing branch protection fields incl. lock_branch#2378harry-unlikelyai wants to merge 7 commits intoPyGithub:mainfrom
Conversation
Codecov ReportBase: 98.75% // Head: 98.62% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2378 +/- ##
==========================================
- Coverage 98.75% 98.62% -0.14%
==========================================
Files 115 115
Lines 11578 11622 +44
==========================================
+ Hits 11434 11462 +28
- Misses 144 160 +16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
Is it possible to add |
|
@martinmosegaard Ok added that too now |
|
Thanks! It is mentioned on https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28 fwiw. |
|
Ah interesting, I had added it in the wrong way then since it needs to be part of the |
|
Hi @harry-unlikelyai, you have conflicts with the base branch. PR's 2793 and 2716 have also the same field |
|
Superseded by #2873, added you as co-author to appreciate your contribution. |
Fixes #2373
Add new BranchProtection options listed here: https://developer.github.com/v3/repos/branches/
required_linear_historyallow_force_pushesallow_deletionslock_branchReplica of #1723 and #2376 but also adds
lock_branch.