Skip to content

Github Action to merge json files to prevent PR conflicts

Notifications You must be signed in to change notification settings

narze/merge_on_merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merge on merge

Workflows

  • Contributors create PRs with input files in specified folder e.g. /input/blah.json.
  • Github Actions run and create comment with output file change preview
  • When merged, the output json file will be modified, and input files will be moved to processed folder
  • The action could preview how the target file will look like after appending using comments within PRs.

Usage

- Do not modify data.json directly (It's managed by merge_on_merge GitHub action)
- Create an entry file in input folder with [this link](https://github.com/you/your-awesome-repo/new/main?filename=input/) and use this format.

{
  "name": "narze",
  "occupation": "developer"
}

- Open Pull Request

License: MIT

About

Github Action to merge json files to prevent PR conflicts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages