diff --git a/.github/workflows/sync-repo.yml b/.github/workflows/sync-repo.yml index 44452148eae480..dc36540bff9da3 100644 --- a/.github/workflows/sync-repo.yml +++ b/.github/workflows/sync-repo.yml @@ -9,9 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: mm-stable - run: git fetch mm-stable && git checkout mm-stable + - 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