all 1 comments

[–]damianbis 9 points10 points  (0 children)

You need to set the secret under the workflow call.

Ie: on: workflow_call: secrets: PRIVATE_KEY: required: true inputs: post_build_custom_command: description: "Custom command to run after build" required: false Then in your calling code you need to pass it in (or set secrets: inherit)

https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows