diff --git a/.github/workflows/sync-repo.yml b/.github/workflows/sync-repo.yml new file mode 100644 index 00000000000000..224b0c4c9b4d99 --- /dev/null +++ b/.github/workflows/sync-repo.yml @@ -0,0 +1,28 @@ +name: SYNC REPO + +on: + push: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + ref: mm-stable + - name: set-remote + run: git remote set-url origin git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm + - name: show-remote + run: git remote -v + - name: pull-mm-stable + run: git pull + - name: set-remote + run: git remote set-url origin git://git@github.com:ioworker0/linux.git + - name: show-remote + run: git remote -v + - name: push-mm-stable + run: git push + +