Commit 34e1b56
authored
make main as default branch (#1288)
## High Level Overview of Change
Make `main` as default branch to avoid `staging` to `main` PR during
release. This also helps removing all the users who have push to main
access and all the commits go through pull request reviews before they
are merged and released.
<!--
Please include a summary/list of the changes.
If too broad, please consider splitting into multiple PRs.
-->
### Context of Change
<!--
Please include the context of a change.
If a bug fix, when was the bug introduced? What was the behavior?
If a new feature, why was this architecture chosen? What were the
alternatives?
If a refactor, how is this better than the previous implementation?
If there is a design document for this feature, please link it here.
-->
### Type of Change
<!--
Please check relevant options, delete irrelevant ones.
-->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Refactor (non-breaking change that only restructures code)
- [ ] Tests (You added tests for code that already exists, or your new
feature included in this PR)
- [ ] Documentation Updates
- [ ] Translation Updates
- [ ] Release
### Codebase Modernization
<!--
In an effort to modernize the codebase, you should convert the files
that you work with to React Hooks and TypeScript If this is not possible
(e.g. it's too many changes, touching too many files, etc.) please
explain why here.
-->
- [ ] Updated files to React Hooks
- [ ] Updated files to TypeScript
## Before / After
<!--
If just refactoring / back-end changes, this can be just an in-English
description of the change at a technical level.
If a UI change, screenshots should be included.
-->
## Test Plan
1. Existing tests should pass.
2. CI should run and pass.
3. Force push on main should not be allowed. - Works - remote: - Changes
must be made through a pull request. error: failed to push some refs to
'github.com:ripple/explorer.git'
4. Requires 2 approvals before merge into main.
<!--
Please describe the tests that you ran to verify your changes and
provide instructions so that others can reproduce.
-->
<!--
## Future Tasks
For future tasks related to PR.
-->1 parent 229b6fc commit 34e1b56
3 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments