Skip to content

Github action: Sync and merge upstream repository with your current repository

License

Notifications You must be signed in to change notification settings

mheene/sync-upstream-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync Upstream Repo

This repository contains an github action to sync your current repository with an upstream repository. The work is greatly inspired by actions-registry/github-repo-sync-upstream which didn't work for me.

Usage

Example github action:

 
name: CI

on: 
  schedule:
    - cron: "15 14 * * *"
jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: GitHub Sync to Upstream Repository
      uses: mheene/[email protected]
      with:
      # GitHub public upstream repo
        upstream_repo: https://github.com/holger24/AFD.git

This action syncs your repo with the upstream repo https://github.com/holger24/AFD.git every day at 14:15 UTC.

About

Github action: Sync and merge upstream repository with your current repository

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published