Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 793 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 793 Bytes

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.