This repository contains organization-wide GitHub templates and workflows for TaskTrial projects.
workflows/ci.yml- Standard CI pipeline for organization projectsworkflows/setup-labels.yml- for labels setup
ISSUE_TEMPLATE/bug_report.md- Template for bug reportsISSUE_TEMPLATE/feature_request.md- Template for feature requests
PULL_REQUEST_TEMPLATE.md- Standard pull request template
CODE_OF_CONDUCT.md- Organization code of conductSECURITY.md- Security policy
scripts/create-labels.js- Script to set up standardized labels across repositories
- When creating a new repository in the
TaskTrialorganization, these templates will be automatically available. - The labels script will run automatically when a new repository is created.
To add these templates to an existing repository:
-
CI/CD Workflow:
- Go to the Actions tab in your repository
- You should see the organization workflow templates available
- Click "Set up this workflow" on the Standard CI workflow
-
Issue Templates and PR Template:
- Create a
.githubdirectory in your repository if it doesn't exist - Copy the relevant templates from this repository
- Customize as needed for your specific project
- Create a
-
Labels:
- Run the labels workflow manually:
- Go to the Actions tab in your repository
- Select the "Setup Repository Labels" workflow
- Click "Run workflow"
- Run the labels workflow manually:
While these templates provide a good starting point, you may need to customize them for specific projects:
- CI/CD Workflow: Adjust the Node.js version, build commands, or add deployment steps as needed
- Issue Templates: Add project-specific fields or instructions
- Labels: Modify the labels list in the script to add project-specific labels
To suggest changes to these templates:
- Fork this repository
- Make your changes
- Submit a pull request with a clear description of the improvements