Browse Source

[ci] workflow only is used for rt-thread org (#8450)

Meco Man 1 year ago
parent
commit
7bc4f7d6a3

+ 2 - 1
.github/workflows/doxygen.yml

@@ -24,7 +24,8 @@ on:
 jobs:
 jobs:
   build:
   build:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
-    name: doxygen_doc generate 
+    name: doxygen_doc generate
+    if: github.repository_owner == 'RT-Thread'
     steps:
     steps:
       - uses: actions/checkout@v4
       - uses: actions/checkout@v4
         with:
         with:

+ 1 - 0
.github/workflows/manual_dist.yml

@@ -76,6 +76,7 @@ jobs:
   build:
   build:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
     name: ${{ github.event.inputs.bsp_options }}
     name: ${{ github.event.inputs.bsp_options }}
+    if: github.repository_owner == 'RT-Thread'
     steps:
     steps:
       - uses: actions/checkout@v4
       - uses: actions/checkout@v4
       - name: Set up Python
       - name: Set up Python

+ 1 - 0
.github/workflows/pkgs_test.yml

@@ -20,6 +20,7 @@ on:
 jobs:
 jobs:
     change:
     change:
         uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main
         uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main
+        if: github.repository_owner == 'RT-Thread'
         with:
         with:
             rt-thread-versions: "branch:master"
             rt-thread-versions: "branch:master"
             test-specific-pkgs: true
             test-specific-pkgs: true