GitHub Action to Automatically Merge based on PR Title & Owner
This action should run on push, and automatically merge PRs to target branches under the following conditions:
- The author of the PR is the owner of the repo
- The PR title contains the phrase "YOLO!"
- The PR does not have any merge conflicts
- For processing PR title, see article on script hardening
- For other action variables, see docs on variables
- For conditioning running, see if syntax
- Might work in Node or Bash
- For auto-merge action, look at Auto-Merge Pull Request