Hi, I’m Dung Huynh Duc . Nice to meet you.

About Me

I’m a full stack developer. I’m a fast learner and self-taught coder. I often take my time for researching and learning about hot and trending technology.

renovate
auto-merge

#TIL 33 - Auto-merge your pull request on GitHub with Renovate bot

blog_hero_#TIL 33 - Auto-merge your pull request on GitHub with Renovate bot

This is a neat trick for auto-merge your pull request on GitHub with Renovate bot if that's passed the check (build, linter) for non-major update packages.

Here is the renovate.json file.

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:base",
    "group:allNonMajor",
    ":pinAllExceptPeerDependencies"
  ],
  "lockFileMaintenance": {
    "enabled": true
  },
  "automerge": true,
  "major": {
    "automerge": false
  }
}