Note
GitHub Enterprise Server users should use self-hosted runners. GitHub-hosted runners are not supported.
Creating workflow templates
This procedure demonstrates how to create a workflow template and metadata file. The metadata file describes how the workflow templates will be presented to users when they are creating a new workflow.
- If it doesn't already exist, create a new repository named .githubin your organization.
- Create a directory named workflow-templates.
- Create your new workflow file inside the workflow-templatesdirectory.
- Create a metadata file inside the workflow-templatesdirectory.
- To add another workflow template, add your files to the same workflow-templatesdirectory.
Next steps
- For reference information about workflow templates, see Reusing workflow configurations.