Skip to content

Commit

Permalink
Update CONTRIBUTING.md to reflect "Squash and merge" option (pytorch#…
Browse files Browse the repository at this point in the history
…5117)

Currently, PR doesn't need to go through internal landing. Reviewers and contributors with "write permission" can just squash and merge and PR themselves.

Co-authored-by: Dave Bort <[email protected]>
  • Loading branch information
kirklandsign and dbort authored Nov 21, 2024
1 parent 6ac19cc commit 4e90293
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,15 @@ for basics.
- If the reviewers have requests or questions, follow up with them.
- The goal of the reviewer is to ensure that the code in the `main` branch of
the repo is consistent, maintainable, and of high quality.
1. Once approved, your reviewer will import the PR into Meta's internal system
and merge it from there.
- If the PR is approved and not merged within a few business days, please
comment on the PR to ask about its status.
1. Once the PR has been approved,
- If you have the "write permission" in this repo, you can merge it yourself
by clicking the "Squash and merge" button once it is green and all CI
signals are passing.
- If you don't have "write permission" in this repo, the reviewer will take
care of the PR. The reviewer may import the PR into Meta's internal system
to validate it against internal CI.
- If the PR is approved but not merged within 5 business days, please comment
on the PR to ask about its status.
- Note that if the `main` [CI](#continuous-integration) jobs are broken, we
will only merge PRs that fix the broken jobs until all critical jobs are
fixed.
Expand Down

0 comments on commit 4e90293

Please sign in to comment.