Skip to content

Commit

Permalink
Update sync-repo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ioworker0 authored Mar 18, 2024
1 parent b4cd788 commit 8e8c11a
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/sync-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,27 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: mm-unstable

- name: add-remote
run: |
git remote add kernel git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
git remote -v
- name: pull-push-mm-unstable
run: |
git pull -f kernel mm-unstable
git push -f origin mm-unstable
- uses: actions/checkout@v4
with:
ref: mm-stable
- name: add-kernel-remote
run: git remote add kernel git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
- name: show-remote
run: git remote -v
- name: pull-kernel-mm-unstable
run: git pull kernel mm-unstable:mm-unstable-local
- name: push-mm-unstable
run: git push -f origin mm-unstable-local:mm-unstable

- name: pull-push-mm-stable
run: |
git pull -f kernel mm-stable
git push -f origin mm-stable

0 comments on commit 8e8c11a

Please sign in to comment.