Skip to content

Github Action to combine files while preventing PR conflicts

Notifications You must be signed in to change notification settings

narze/append_on_merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Append on merge

Workflows

  • Contributors create PRs with input files in specified folder e.g. /input.
  • Github Actions run and create comment with output file change preview
  • When merged, the output file will be appended, 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

  • Copy .github/workflows/append_on_merge.yml to your repo
  • (Optional) Add comment marker to your target file <!--%%% APPEND_ON_MERGE: any message here %%%-->
  • Add instruction to create pull request in input folder instead:
- Do not modify README.md directly (It's managed by append_on_merge GitHub action)
- Create an entry file in input folder with [this link](https://github.com/narze/awesome-rickroll-videos/new/main?filename=input/) and use this format. (Don't forget - at the front of the entry)

  - [Video Name](https://youtu.be/dQw4w9WgXcQ)

- Open Pull Request

License: MIT

About

Github Action to combine files while preventing PR conflicts

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages