-
Notifications
You must be signed in to change notification settings - Fork 61.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moda-ci.yaml
triggers an error in forks for anyone who doesn't have access to github/docs-internal
#35731
Comments
@jsoref Thank you for raising the flag on this! ✨ Given the referenced file, I'll create an issue to have this reviewed internally 💛 I'll close this issue, but if you find anything else that might be relevant, feel free to ping me here and I'll copy over to the internal issue! |
Thank you for opening this issue! Updates to this documentation must be made internally. I have copied your issue to an internal issue, so I will close this issue. |
This guard
docs/.github/workflows/moda-ci.yaml
Line 39 in 190a7a5
did not prevent:
Invalid workflow file: .github/workflows/moda-ci.yaml#L86
I think it might be possible to avoid this structure by using a combination of a
workflow_call
with ajobs:
/if:
condition that guards against the user from tripping on the problem e.g.${{ github.repository == 'github/docs-internal' }}
and then have theon: workflow_call
on the internal side be responsible for using the reusable workflow.Originally posted by @jsoref in #34562 (comment)
The text was updated successfully, but these errors were encountered: