Skip to content

Auto update all branches when the main branch gets a new push. Works using GitHub actions.

Notifications You must be signed in to change notification settings

Wambyat/AutoUpdate-Branches-GitHub-Actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

GitHub Auto-Update

This is a way to make all your branches auto update to the latest push on the main branch. This uses GitHub actions. This will fail on private repositories.

Steps to follow:

  1. Copy the .github folder into your repository or make a repository using this one as a template.
  2. In ./github/workflows/main.yml replace <your email here> with your GitHub email and <your username here> with your GitHub username. After you create this GitHub will automatically create a GitHub Action and start it on every push to the main branch.
PS: The action will fail in this repository as I have not replaced <your email here> and <your username here>. To see the action actually working see this repository.

About

Auto update all branches when the main branch gets a new push. Works using GitHub actions.

Topics

Resources

Stars

Watchers

Forks