Closed alexrosenfeld10 closed 1 month ago
I've also tried
permissions: read-all
secrets: inherit
to no avail
ugh, the permissions have to be on the reusable workflow, not the top level workflow. GHAs can be so needlessly complex in their configuration
Per title, checkout fails when called from reusable workflows.
Main workflow:
Reusable workflow (as in,
./.github/workflows/changed_files.yml
):I've tried:
secrets: inherit
GITHUB_TOKEN
secret directly, by a different nameCheckout works from the parent job by the way. It's just when called from the reusable workflow that it fails.
Error log: