I created a repository with a single workflow (convert_build), set up the GitHub app, and successfully pushed it to Dockstore. I then added a second workflow to the repository (plink2_bed2vcf) and have made multiple commits, but that workflow is not appearing under my-workflows. I can see in the GitHub logs for the first workflow that the commits are being registered. How can I get additional workflows to show up?
Hi Stephanie,
Thanks for reaching out!
After looking at the dockstore.yml in the provided GitHub repo, there appears to be a minor typo in the YAML formatting. The top-level key workflows
does not need to be duplicated for each new workflow added, as the values provided under the workflows
key make up a list.
For example, the current YAML file contents are:
version: 1.2
workflows:
- name: plink2_bed2vcf
subclass: WDL
primaryDescriptorPath: /plink2_bed2vcf.wdl
testParameterFiles:
- /plink2_bed2vcf.json
workflows:
- name: convert_build
subclass: WDL
primaryDescriptorPath: /convert_build.wdl
testParameterFiles:
- /convert_build.json
Removing the duplicate workflows
key on line 8 will result in a valid formatting, which looks like:
version: 1.2
workflows:
- name: plink2_bed2vcf
subclass: WDL
primaryDescriptorPath: /plink2_bed2vcf.wdl
testParameterFiles:
- /plink2_bed2vcf.json
- name: convert_build
subclass: WDL
primaryDescriptorPath: /convert_build.wdl
testParameterFiles:
- /convert_build.json
Let me know if there are any other questions or clarifications I can help with!
Richard
Thank you! It’s working now.