Преглед изворни кода

Limit cherry-pick to last two commits

jimsterino98 пре 2 месеци
родитељ
комит
54d8474177
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .github/actions/dependencies/action.yml

+ 1 - 1
.github/actions/dependencies/action.yml

@@ -35,7 +35,7 @@ runs:
       git clone https://gitlab.com/simonpunk/susfs4ksu.git -b "$SUSFS_BRANCH"
       cd susfs4ksu
       git fetch https://gitlab.com/pershoot/susfs4ksu.git gki-android14-6.1-dev
-      git log ..FETCH_HEAD --oneline | awk '{print $1}' | tac | xargs git cherry-pick
+      git log ..FETCH_HEAD --oneline -n 2 | awk '{print $1}' | tac | xargs git cherry-pick
      
       #cd susfs4ksu
       #if [[ "${{ inputs.android_version }}-${{ inputs.kernel_version }}" == "android12-5.10" ]]; then