浏览代码

Configure Git user for actions in action.yml

Add Git configuration for GitHub Actions bot.
jimsterino98 1 月之前
父节点
当前提交
b474da8528
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      .github/actions/susfs-patches/action.yml

+ 3 - 0
.github/actions/susfs-patches/action.yml

@@ -22,6 +22,9 @@ runs:
      run: |
       SUSFS_BRANCH="gki-${{ inputs.android_version }}-${{ inputs.kernel_version }}"
       git clone https://gitlab.com/simonpunk/susfs4ksu.git -b "$SUSFS_BRANCH"
+
+      git config --global user.name "github-actions[bot]"
+      git config --global user.email "41898282+github-actions[bot]@://github.com"
       
       cd susfs4ksu
       git fetch https://gitlab.com/pershoot/susfs4ksu.git gki-android14-6.1-dev