Skip to content

Commit b18bdea

Browse files
chore: limit gitee sync workflow to main repo (#11112)
1 parent 25fb431 commit b18bdea

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/add-labels-for-pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ permissions:
66
jobs:
77
generic_handler:
88
name: Add Labels to PR
9+
if: github.repository == '1Panel-dev/1Panel'
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/checkout@v3

.github/workflows/sonarcloud-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
sonarcloud:
1010
name: SonarCloud
11+
if: github.repository == '1Panel-dev/1Panel'
1112
runs-on: ubuntu-latest
1213
steps:
1314
- uses: actions/checkout@v3

.github/workflows/sync2gitee.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Synchronize to Gitee
22
on: [push]
33
jobs:
44
repo-sync:
5+
if: github.repository == '1Panel-dev/1Panel'
56
runs-on: ubuntu-latest
67
steps:
78
- name: Mirror the Github organization repos to Gitee.

0 commit comments

Comments
 (0)