/sync-upstream-repo

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

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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/sync-upstream-repo@v0.1.2
      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.