File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Deploy mkdocs website to GitHub Pages
33on :
44 push :
55 branches :
6- - " main"
6+ - main
77 paths :
88 - python/**
99 - node/**
1414jobs :
1515 build-and-deploy-docs :
1616 runs-on : ubuntu-latest
17+ if : github.repository_owner == 'valkey-io'
1718
1819 steps :
1920 - name : Checkout your branch
Original file line number Diff line number Diff line change 77jobs :
88 trigger-ort-check :
99 runs-on : ubuntu-latest
10+ if : github.repository_owner == 'valkey-io'
1011
1112 steps :
1213 - name : Checkout repository
Original file line number Diff line number Diff line change 1818 # 1. For workflow_dispatch, always allow
1919 # 2. For pull_request, run if branch is not autogenerated ort-diff-for- branches
2020 if : >
21- github.event_name == 'workflow_dispatch' ||
22- (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'ort-diff-for-'))
21+ github.repository_owner == 'valkey-io' &&
22+ (github.event_name == 'workflow_dispatch' ||
23+ (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'ort-diff-for-')))
2324 strategy :
2425 fail-fast : false
2526 env :
Original file line number Diff line number Diff line change 3030 image : semgrep/semgrep
3131
3232 # Skip any PR created by dependabot to avoid permission issues:
33- if : (github.actor != 'dependabot[bot]')
33+ if : (github.actor != 'dependabot[bot]' && github.repository_owner == 'valkey-io' )
3434
3535 steps :
3636 # Fetch project source with GitHub Actions Checkout.
Original file line number Diff line number Diff line change 88jobs :
99 stale :
1010 runs-on : ubuntu-latest
11+ if : github.repository_owner == 'valkey-io'
1112 permissions :
1213 issues : write
1314 pull-requests : write
You can’t perform that action at this time.
0 commit comments