Skip to content

Commit 6e44d28

Browse files
CI : Ensure access to secrets when builds are run from nightly workflow
Otherwise nightly builds have no access to Arnold or RenderMan. Secrets need to be passed from the calling workflow to reusable workflows, though we can set `inherit` on the calling workflow to implicitly pass all secrets. https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows#passing-inputs-and-secrets-to-a-reusable-workflow
1 parent 2933a51 commit 6e44d28

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
uses: ./.github/workflows/main.yml
7272
with:
7373
buildType: 'nightly'
74+
secrets: inherit
7475
if: needs.Check.outputs.buildNightly == '1'
7576

7677
Tag:

0 commit comments

Comments
 (0)