Skip to content

Commit

Permalink
Create sync-repo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ioworker0 authored Mar 18, 2024
1 parent b401b62 commit 3b4e969
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/sync-repo.yml
Original file line number Diff line number Diff line change
@@ -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://[email protected]:ioworker0/linux.git
- name: show-remote
run: git remote -v
- name: push-mm-stable
run: git push


0 comments on commit 3b4e969

Please sign in to comment.