]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - .github/workflows/sync2gitee.yml
1.1.07 release
[Ventoy.git] / .github / workflows / sync2gitee.yml
index e2b50763adf9f8e276a12b0f27d6ae8cc88a4720..2fd7e8715c58d8f00da4c7ff83d6ef7f0326cda9 100644 (file)
@@ -4,8 +4,6 @@ on:
   # Triggers the workflow on push or pull request events but only for the main branch
   push:
     branches: [ master ]
   # Triggers the workflow on push or pull request events but only for the main branch
   push:
     branches: [ master ]
-  pull_request:
-    branches: [ master ]
 
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
 
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
@@ -13,6 +11,7 @@ on:
 jobs:
   run:
     name: Sync-GitHub-to-Gitee
 jobs:
   run:
     name: Sync-GitHub-to-Gitee
+    if: ${{ github.repository_owner == 'ventoy' }}
     runs-on: ubuntu-latest
     steps:
     - name: Mirror the Github repos to Gitee.
     runs-on: ubuntu-latest
     steps:
     - name: Mirror the Github repos to Gitee.