mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
contributing: don't use main branch (#18688)
* contributing: don't use main branch * lint * Apply suggestion from @dominic-r Signed-off-by: Dominic R <dominic@sdko.org> --------- Signed-off-by: Dominic R <dominic@sdko.org>
This commit is contained in:
@@ -137,6 +137,24 @@ The process described here has several goals:
|
||||
- Engage the community in working toward the best possible authentik
|
||||
- Enable a sustainable system for authentik's maintainers to review contributions
|
||||
|
||||
#### Always use feature branches
|
||||
|
||||
**DO NOT open pull requests from your `main` branch.** Always create a feature branch for your changes.
|
||||
|
||||
Here's one way to do it correctly (your own preferred git commands may differ):
|
||||
|
||||
```bash
|
||||
# Create and switch to a new feature branch
|
||||
git checkout -b feature/my-awesome-feature
|
||||
|
||||
# Make your changes, then commit and push
|
||||
git add .
|
||||
git commit -m "providers/oauth2: add awesome feature"
|
||||
git push -u origin feature/my-awesome-feature
|
||||
```
|
||||
|
||||
Then open your PR from the feature branch.
|
||||
|
||||
Please follow these steps to have your contribution considered by the maintainers:
|
||||
|
||||
1. Follow the [style guides](#style-guides)
|
||||
|
||||
Reference in New Issue
Block a user