Bug 239771 - Block all direct pushes to GitHub
Summary: Block all direct pushes to GitHub
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 239082
  Show dependency treegraph
 
Reported: 2022-04-26 08:19 PDT by Michael Catanzaro
Modified: 2022-06-13 09:58 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2022-04-26 08:19:45 PDT
Today I accidentally pushed a sidebranch the main repo instead of my personal fork. We should block this from happening since we want people to create pull requests only from forks.
Comment 1 Yusuke Suzuki 2022-04-26 10:36:16 PDT
It is good if we can avoid creating a branch in the upstream repository.
Comment 2 Michael Catanzaro 2022-04-26 12:17:41 PDT
Caveat: we probably do want to allow pushing to stable branches (including creating new branches) webkit-* and safari-*-branch.
Comment 3 Radar WebKit Bug Importer 2022-05-03 08:20:20 PDT
<rdar://problem/92669177>
Comment 4 Jonathan Bedard 2022-06-13 09:58:15 PDT
I've prevented pushes to:
eng/*
dev/*
bug/*

Additionally, we have branch protections on:
main
safari-*-branch

Happy to add more, but I also don't want to hamper folks ability to use feature branches, if we feel that is useful.