[ci][action] add the repo check for self-use
This commit is contained in:
parent
032a3f2704
commit
2db41308ea
|
@ -34,6 +34,7 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Tools
|
name: Tools
|
||||||
|
if: github.repository_owner == 'RT-Thread'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -28,6 +28,7 @@ jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: ${{ matrix.legs.UTEST }}
|
name: ${{ matrix.legs.UTEST }}
|
||||||
|
if: github.repository_owner == 'RT-Thread'
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
@ -6,6 +6,7 @@ jobs:
|
||||||
scancode_job:
|
scancode_job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Scan code format and license
|
name: Scan code format and license
|
||||||
|
if: github.repository_owner == 'RT-Thread'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
|
|
|
@ -9,6 +9,7 @@ jobs:
|
||||||
scancode_job:
|
scancode_job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Static code analysis
|
name: Static code analysis
|
||||||
|
if: github.repository_owner == 'RT-Thread'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
|
|
Loading…
Reference in New Issue