Bläddra i källkod

fix(workflow): use current repository owner for mirroring

blylana 1 vecka sedan
förälder
incheckning
305defd057
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      .github/workflows/github-mirror.yml

+ 2 - 2
.github/workflows/github-mirror.yml

@@ -36,7 +36,7 @@ jobs:
       - name: Mirror the GitHub repos to Gitee with cache
         uses: Yikun/hub-mirror-action@master
         with:
-          src: github/runhey
+          src: github/${{ github.repository_owner }}
           dst: gitee/runheng
           dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} # 复用公钥
           dst_token: ${{ secrets.GITEE_TOKEN }}
@@ -50,7 +50,7 @@ jobs:
       - name: Mirror the GitHub repos to GitCode with cache
         uses: Yikun/hub-mirror-action@master
         with:
-          src: github/runhey
+          src: github/${{ github.repository_owner }}
           dst: gitcode/OnmyojiAutoScript
           dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} # 复用公钥
           dst_token: ${{ secrets.GITCODE_TOKEN }}