However, the yaml was incorrectly formatted, which gave the following error (workflow_dispatch log):
Invalid workflow file: .github/workflows/nightly_pip_test.yml#L19
The workflow is not valid. .github/workflows/nightly_pip_test.yml (Line: 19, Col: 9): Unexpected symbol: '#'. Located at position 134 within expression: github.event_name == 'workflow_dispatch' ||
(github.event_name == 'schedule' && github.repository == 'google-ai-edge/ai-edge-torch') # don't run in forks.
This PR is removing the trailing comment and has been verified to work by running the workflow via dispatch from my branch in my fork (log).
https://github.com/google-ai-edge/ai-edge-torch/pull/15 was attempting to prevent nightly workflows from running in forks.
However, the yaml was incorrectly formatted, which gave the following error (workflow_dispatch log):
This PR is removing the trailing comment and has been verified to work by running the workflow via dispatch from my branch in my fork (log).
BUG=fix broken workflow.