moda-ci.yaml
triggers an error in forks for anyone who doesn't have access to github/docs-internal
#35731
Labels
content
This issue or pull request belongs to the Docs Content team
fix-internally
Triggers a workflow to copy the issue internally and close the current 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: