This directory contains example workflows demonstrating how to use the reusable workflows from this repository.
github/workflows/examples/
├── ci-cd/ # CI/CD pipeline examples
│ ├── comprehensive-ci-cd.yml
│ └── security-focused.yml
├── documentation/ # Documentation & automation examples
│ ├── ai-issue-summary.yml
│ ├── documentation.yml
│ ├── issue-automation.yml
│ ├── pr-labeler.yml
│ └── readme.yml
├── dotnet-desktop-build/ # .NET Desktop application examples
│ ├── basic-wpf-build.yml
│ ├── advanced-signed-build.yml
│ ├── msix-package-build.yml
│ ├── multi-project-build.yml
│ └── matrix-build-test.yml
├── dotnet-build/ # .NET Core/5+ application examples
│ ├── simple-library.yml
│ ├── web-api-docker.yml
│ ├── nuget-package-publish.yml
│ ├── blazor-wasm-deploy.yml
│ ├── matrix-cross-platform.yml
│ └── microservice-k8s.yml
├── nodejs-build/ # Node.js application examples
│ ├── simple-npm-package.yml
│ ├── npm-publish-release.yml
│ ├── matrix-multi-version.yml
│ ├── react-app-deploy.yml
│ ├── nextjs-docker-deploy.yml
│ └── monorepo-turborepo.yml
├── python-release/ # Python package release examples
│ ├── nocodb-simpleclient-example.yml
│ └── README.MD
├── release/ # Release automation examples
│ ├── semantic-release.yml
│ └── simple-release.yml
├── security/ # Security workflow examples
│ ├── automatic-release.yml
│ └── manual-release.yml
├── project-templates/ # Complete project workflow templates
│ └── nodejs-project.yml
├── docker/ # Docker build examples
│ ├── simple-docker-build.yml
│ ├── dockerhub-with-readme-sync.yml
│ └── ...
└── claude-code/ # Claude Code Assistant examples
├── basic-claude-assistant.yml
├── code-review-assistant.yml
├── security-review-assistant.yml
├── restricted-claude-assistant.yml
└── multi-trigger-assistant.yml
- Copy the example that matches your use case
- Place it in your repository's
.github/workflows/directory - Modify the configuration to match your project structure
- Update the
uses:statement to reference this repository:uses: your-org/automation-templates/.github/workflows/[workflow-name].yml@main
For building Windows desktop applications (WPF, WinForms, MAUI)
Examples:
dotnet-desktop-build/basic-wpf-build.yml- Simple WPF applicationdotnet-desktop-build/advanced-signed-build.yml- With code signingdotnet-desktop-build/msix-package-build.yml- MSIX packagingdotnet-desktop-build/multi-project-build.yml- Multiple projectsdotnet-desktop-build/matrix-build-test.yml- Matrix configurations
For building .NET Core/5+ applications, libraries, and services
Examples:
dotnet-build/simple-library.yml- Class librarydotnet-build/web-api-docker.yml- Web API with Dockerdotnet-build/nuget-package-publish.yml- NuGet publishingdotnet-build/blazor-wasm-deploy.yml- Blazor WebAssemblydotnet-build/matrix-cross-platform.yml- Cross-platform buildsdotnet-build/microservice-k8s.yml- Microservice with Kubernetes
For building Node.js applications and packages
Examples:
nodejs-build/simple-npm-package.yml- NPM packagenodejs-build/npm-publish-release.yml- NPM publishingnodejs-build/matrix-multi-version.yml- Multi-version testingnodejs-build/react-app-deploy.yml- React deploymentnodejs-build/nextjs-docker-deploy.yml- Next.js with Dockernodejs-build/monorepo-turborepo.yml- Monorepo management
For building and releasing Python packages with comprehensive CI/CD
Examples:
python-release/nocodb-simpleclient-example.yml- Complete Python package releasepython-release/README.MD- Detailed documentation and GitHub Packages installation guide
Complete CI/CD pipeline configurations
Examples:
ci-cd/comprehensive-ci-cd.yml- Full CI/CD pipeline with all checksci-cd/security-focused.yml- Security-first CI/CD pipeline
Various automation and documentation workflows
Examples:
documentation/ai-issue-summary.yml- AI-powered issue summariesdocumentation/documentation.yml- Auto-generate documentationdocumentation/issue-automation.yml- Issue management automationdocumentation/pr-labeler.yml- Automatic PR labelingdocumentation/readme.yml- README generation
Release and versioning workflows
Examples:
release/semantic-release.yml- Semantic versioning automationrelease/simple-release.yml- Basic release workflow
Security scanning and compliance workflows
Examples:
security/automatic-release.yml- Secure automated releasessecurity/manual-release.yml- Manual release with security checks
Complete workflow templates for specific project types
Examples:
project-templates/nodejs-project.yml- Complete Node.js project setup
AI-powered code assistant that responds to @claude mentions
Examples:
claude-code/basic-claude-assistant.yml- Simple setup responding to @claudeclaude-code/code-review-assistant.yml- Thorough code reviews on PRsclaude-code/security-review-assistant.yml- Security-focused code analysisclaude-code/restricted-claude-assistant.yml- Limited to specific users/teamsclaude-code/multi-trigger-assistant.yml- Different behaviors per trigger phrase
Most workflows support configuration through:
- Workflow inputs - Direct parameters in the workflow file
- Configuration files - YAML files in
.github/config/ - Secrets - Sensitive data like tokens and credentials
- Environment variables - Runtime configuration
- Start simple - Use basic examples and add complexity as needed
- Use matrix builds - Test across multiple versions/platforms
- Cache dependencies - Improve build performance
- Pin versions - Use specific versions for reproducibility
- Secure secrets - Never commit sensitive data
- Secrets Reference - All required secrets and tokens
- Self-Hosted Runners - Runner configuration
- Docker Build Documentation
- Python Build Documentation
- .NET Desktop Build Documentation
- .NET Build Documentation
- Node.js Build Documentation
- Teams Notifications Documentation
- Documentation Management Workflow
- Security Policy Management Workflow
- Contributing Guidelines - Learn how to contribute
- Security Policy - Security and vulnerability reporting
- Code of Conduct - Community standards
When adding new examples:
- Place them in the appropriate category directory
- Use descriptive names
- Include comments explaining key configurations
- Update this README with the new example