A GitHub Action for synchronizing the current repository with remote non-github repo
Required Complete URL of non-github repository to pull
Optional Name of branch to pull. Default "master"
Required Name of github repo to sync
Optional Name of branch to sync. Default "master"
Required Github secret of destination repo.
name: Sync repo
on:
schedule:
- cron: "*/6 * * * *"
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Sync repository
uses: tedd-an/action-sync-repo-test@master
with:
src_repo: 'https://git.kernel.org/pub/scm/bluetooth/bluez.git'
src_branch: 'master'
dest_repo: tedd-an/bluez-test
dest_branch: 'master'
github_token: ${{ secrets.ACTION_TOKEN }}