Skip to content

Commit e998bb0

Browse files
committed
Fix non-PR build
1 parent d7f0626 commit e998bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# this dimension is only needed to check whether we're in CnCNet repo
2222
# and exclude hardened build because we may have no access to it
2323
has-private-access:
24-
- ${{ github.event.pull_request.head.repo.owner.login == 'CnCNet' }}
24+
- ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'CnCNet' || github.event_name == 'push' && github.repository_owner == 'CnCNet' }}
2525
exclude:
2626
- is-hardened: -Hardened
2727
has-private-access: false

0 commit comments

Comments
 (0)