Dax Raad 3 周之前
父節點
當前提交
66ec378680
共有 1 個文件被更改,包括 7 次插入5 次删除
  1. 7 5
      .github/workflows/nix-hashes.yml

+ 7 - 5
.github/workflows/nix-hashes.yml

@@ -36,14 +36,16 @@ jobs:
           ref: ${{ github.head_ref || github.ref_name }}
           repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
 
+      - name: Setup git committer
+        id: committer
+        uses: ./.github/actions/setup-git-committer
+        with:
+          opencode-app-id: ${{ vars.OPENCODE_APP_ID }}
+          opencode-app-secret: ${{ secrets.OPENCODE_APP_SECRET }}
+
       - name: Setup Nix
         uses: nixbuild/nix-quick-install-action@v34
 
-      - name: Configure git
-        run: |
-          git config --global user.email "[email protected]"
-          git config --global user.name "Github Action"
-
       - name: Pull latest changes
         env:
           TARGET_BRANCH: ${{ github.head_ref || github.ref_name }}