mheene / sync-upstream-repo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Shell 85.1%Language:Dockerfile 14.9%