Skip to content

Instantly share code, notes, and snippets.

@Vivek205
Last active January 13, 2020 13:22
Show Gist options
  • Save Vivek205/df512d553c199e00d2bd9116ae19e0a0 to your computer and use it in GitHub Desktop.
Save Vivek205/df512d553c199e00d2bd9116ae19e0a0 to your computer and use it in GitHub Desktop.
RepoSync yaml script
name: github - repo sync
on:
schedule:
- cron: "*/05 * * * *"
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "git link to the main/upstream repo from where you have forked"
source_branch: "development"
destination_branch: "development"
github_token: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment