Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Wiki
  • Pull Request Checklist

Pull Request Checklist · Changes

Page history
First version authored Jul 25, 2018 by Jérémie Bresson's avatar Jérémie Bresson
Show whitespace changes
Inline Side-by-side
Pull-Request-Checklist.md 0 → 100644
View page @ ac2fca93
## General
* be polite
* encourage contributors (especially new ones)
* always give a lot of contexts
## Checks
* No merge issue
* Ensure up-to-date scripts
* Author of the PR is linked to a GitHub account
* Ensure the Technical Committee is on CC
### Target branch
Depending if this is a breaking change, the target branch needs to be different.
TODO: add more details about this.
## Review
It should be clear what the PR is changing (link to an issue, explanation, small OpenAPI Spec to reproduce the issue).
Unit tests are always great.
Test locally if needed.
Do not approve changes you do not understand.
If the change is in the common part (is applied for all languages), be extra careful.
Ask for a second review.
If necessary, ask the author about his change.
## Never merge your own PR
Somebody else needs to approve
Exception to the rule:
* The PR is only about updating the samples
* The PR is only about updating the docs
* The PR is only about adding a unit-test and CI is green
## Merge the Pull Request
Use the "Squash and merge" option:
<img width="300" alt="GitHub usage" src="https://user-images.githubusercontent.com/1222165/38855163-06c8e4f2-4223-11e8-970b-71f7d3cf3d07.png">
The history looks more clean with this option
### After merge tasks
* Ensure the milestone is set
* Ensure the labels are set correctly
Clone repository
  • API client generator HOWTO
  • Building your own Templates
  • Customizing client code generation
  • FAQ
  • Git Branches
  • Home
  • How to add a generator for a new language or framework
  • Integration Tests
  • Migration Guide
  • Mustache Template Variables
  • Pull Request Checklist
  • Release Checklist
  • Samples folder
  • Server stub generator HOWTO
  • Vendor Extensions
View All Pages