summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSupper Thomas <[email protected]>2023-07-11 08:09:08 +0800
committerMan, Jianting (Meco) <[email protected]>2023-07-10 21:59:06 -0400
commit2db41308ea74aba095fcfe21e920e76cb37533ef (patch)
tree4dd17b95d85ffff6c47460182eae9d9e38e71d73 /.github
parent032a3f2704d02b68a582d1cbac36fd4b285718ff (diff)
[ci][action] add the repo check for self-use
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/action_tools.yml1
-rw-r--r--.github/workflows/action_utest.yml1
-rw-r--r--.github/workflows/file_check.yml1
-rw-r--r--.github/workflows/static_code_analysis.yml1
4 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/action_tools.yml b/.github/workflows/action_tools.yml
index ec814cb6d5..8df7fb4224 100644
--- a/.github/workflows/action_tools.yml
+++ b/.github/workflows/action_tools.yml
@@ -34,6 +34,7 @@ jobs:
test:
runs-on: ubuntu-latest
name: Tools
+ if: github.repository_owner == 'RT-Thread'
strategy:
fail-fast: false
env:
diff --git a/.github/workflows/action_utest.yml b/.github/workflows/action_utest.yml
index a5e7bc4f91..a346b2388e 100644
--- a/.github/workflows/action_utest.yml
+++ b/.github/workflows/action_utest.yml
@@ -28,6 +28,7 @@ jobs:
test:
runs-on: ubuntu-latest
name: ${{ matrix.legs.UTEST }}
+ if: github.repository_owner == 'RT-Thread'
strategy:
fail-fast: false
matrix:
diff --git a/.github/workflows/file_check.yml b/.github/workflows/file_check.yml
index 8cd2f7423c..050c51f125 100644
--- a/.github/workflows/file_check.yml
+++ b/.github/workflows/file_check.yml
@@ -6,6 +6,7 @@ jobs:
scancode_job:
runs-on: ubuntu-latest
name: Scan code format and license
+ if: github.repository_owner == 'RT-Thread'
steps:
- uses: actions/checkout@v3
- name: Set up Python
diff --git a/.github/workflows/static_code_analysis.yml b/.github/workflows/static_code_analysis.yml
index 397e04ef1d..c3a74316a9 100644
--- a/.github/workflows/static_code_analysis.yml
+++ b/.github/workflows/static_code_analysis.yml
@@ -9,6 +9,7 @@ jobs:
scancode_job:
runs-on: ubuntu-latest
name: Static code analysis
+ if: github.repository_owner == 'RT-Thread'
steps:
- uses: actions/checkout@v3
- name: Set up Python