From 7bc4f7d6a3dc6ea717bccdc224c0761c0f4d35c0 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Sat, 30 Dec 2023 15:50:04 +0800 Subject: [PATCH] [ci] workflow only is used for rt-thread org (#8450) --- .github/workflows/doxygen.yml | 3 ++- .github/workflows/manual_dist.yml | 1 + .github/workflows/pkgs_test.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index f86d331e40..934a07eab7 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -24,7 +24,8 @@ on: jobs: build: runs-on: ubuntu-latest - name: doxygen_doc generate + name: doxygen_doc generate + if: github.repository_owner == 'RT-Thread' steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/manual_dist.yml b/.github/workflows/manual_dist.yml index 875e8412d9..304f5579e9 100644 --- a/.github/workflows/manual_dist.yml +++ b/.github/workflows/manual_dist.yml @@ -76,6 +76,7 @@ jobs: build: runs-on: ubuntu-latest name: ${{ github.event.inputs.bsp_options }} + if: github.repository_owner == 'RT-Thread' steps: - uses: actions/checkout@v4 - name: Set up Python diff --git a/.github/workflows/pkgs_test.yml b/.github/workflows/pkgs_test.yml index cbf574aa7e..87e70fb35c 100644 --- a/.github/workflows/pkgs_test.yml +++ b/.github/workflows/pkgs_test.yml @@ -20,6 +20,7 @@ on: jobs: change: uses: RT-Thread/pkgs-test/.github/workflows/pkgs-action.yml@main + if: github.repository_owner == 'RT-Thread' with: rt-thread-versions: "branch:master" test-specific-pkgs: true