Test workflow do not run in response to push/PR.
This seems to be caused by wrong branch name.
Current Status
We have Test workflow for automatic test (CI).
It should be triggered by push/PR, but not triggered.
We can manually trigger the workflow, so it's not a error of workflow specification format.
It is derived from official template.
I thought this as just a workflow example, but it seems to be the "starter workflows" system's template.
We maybe have to replace the string by myself for workflow file.
Summary
Test
workflow do not run in response to push/PR.This seems to be caused by wrong branch name.
Current Status
We have
Test
workflow for automatic test (CI).It should be triggered by push/PR, but not triggered.
We can manually trigger the workflow, so it's not a error of workflow specification format.
Estimated Cause
Branch name
$default-branch
seems to be wrong.https://github.com/tarepan/SpeechMOS/blob/b62e7e506199055ba0fdc3111f742b1211a80b98/.github/workflows/test.yml#L7-L9
It is derived from official template.
I thought this as just a workflow example, but it seems to be the "starter workflows" system's template.
We maybe have to replace the string by myself for workflow file.
How to Fix
Replace
$default-branch
withmain
.