Coder Social home page Coder Social logo

tjusl / sync-upstream-repo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 135e2/sync-upstream-repo

0.0 0.0 4.0 31 KB

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

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

Dockerfile 11.35% Shell 88.65%

sync-upstream-repo's Introduction

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: Fetch upstream
      uses: tjusl/[email protected]
      with:
      #Git upstream repo
        upstream_repo: https://github.com/holger24/AFD.git
        upstream_branch: master
        local_branch: master
	github_token: ${{ secrets.GITHUB_TOKEN }}

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.