Skip to content

Commit

Permalink
fix(ci): prevents actions from running on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Dec 9, 2023
1 parent d6f0ead commit b513ade
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/github-repo-stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
j1:
name: github-repo-stats
if: github.repository == 'jdf2e/nutui'
runs-on: ubuntu-latest
steps:
- name: GHRS
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
publish-beta:
if: github.repository == 'jdf2e/nutui'
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-gitee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
deploy-site-sync-gitee:
if: github.repository == 'jdf2e/nutui'
runs-on: ubuntu-latest
steps:
- name: Sync to Gitee
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-h5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

jobs:
copy:
if: github.repository == 'jdf2e/nutui'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-taro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

jobs:
copy:
if: github.repository == 'jdf2e/nutui'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b513ade

Please sign in to comment.