RFR: 1003: GitHubRepository.restrictAccess sends incomplete query

Erik Helin ehelin at openjdk.java.net
Thu Apr 29 09:00:49 UTC 2021

Hi all,

please review this patch which sends the correct JSON data to GitHub's branch protection endpoint. I also changed the API of `restrictPushAccess` to make it more clear that only the supplied `HostUser` can push to the given branch afterwards.



Commit messages:
 - skara-1003

Changes: https://git.openjdk.java.net/skara/pull/1141/files
 Webrev: https://webrevs.openjdk.java.net/?repo=skara&pr=1141&range=00
  Issue: https://bugs.openjdk.java.net/browse/SKARA-1003
  Stats: 18 lines in 6 files changed: 6 ins; 0 del; 12 mod
  Patch: https://git.openjdk.java.net/skara/pull/1141.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/1141/head:pull/1141

PR: https://git.openjdk.java.net/skara/pull/1141

More information about the skara-dev mailing list