Skip to content

Commit 06fee1c

Browse files
committed
Use secret availability to determine whether to build/checkout hardened
1 parent 984b465 commit 06fee1c

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
@@ -20,7 +20,7 @@ jobs:
2020
# this dimension is only needed to check whether we're in CnCNet repo
2121
# and exclude hardened build because we may have no access to it
2222
has-private-access:
23-
- ${{ github.repository_owner == 'CnCNet' }}
23+
- ${{ secrets.CNCNET_CI_SSH_PRIVATEKEY != '' }}
2424
exclude:
2525
- is-hardened: -Hardened
2626
has-private-access: false

0 commit comments

Comments
 (0)