Skip to content

Commit f03284c

Browse files
CYFS3Rbb666
authored andcommitted
[ci] Restrict MemBrowse workflows to the main repository
1 parent b1cd917 commit f03284c

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/membrowse-comment.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
comment:
1111
runs-on: ubuntu-22.04
1212
if: >
13+
github.repository == 'RT-Thread/rt-thread' &&
1314
github.event.workflow_run.event == 'pull_request' &&
1415
github.event.workflow_run.conclusion != 'cancelled' &&
1516
github.event.workflow_run.conclusion != 'skipped'

‎.github/workflows/membrowse-onboard.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111

1212
jobs:
1313
load-targets:
14+
if: ${{ github.repository == 'RT-Thread/rt-thread' }}
1415
runs-on: ubuntu-22.04
1516
outputs:
1617
matrix: ${{ steps.set-matrix.outputs.matrix }}

‎.github/workflows/membrowse-report.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ concurrency:
3838

3939
jobs:
4040
load-targets:
41+
if: ${{ github.repository == 'RT-Thread/rt-thread' }}
4142
runs-on: ubuntu-22.04
4243
outputs:
4344
matrix: ${{ steps.set-matrix.outputs.matrix }}

0 commit comments

Comments
 (0)