Skip to content

ivan-podgurskiy/github-actions-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔧 GitHub Actions Templates

Reusable, production-ready GitHub Actions workflow templates for common CI/CD patterns. Copy into your .github/workflows/ and go. Updated over 5 years as Actions evolved.

GitHub stars GitHub issues License: MIT

Quick Start

  1. Copy the workflow file to .github/workflows/
  2. Adjust secrets/variables as needed
  3. Push and watch it run

Templates

CI

Template Stack Features
node-ci.yml Node.js Matrix, caching, lint + test
python-ci.yml Python Matrix, pip caching, pytest
java-maven-ci.yml Java/Maven Matrix, Maven caching, JDK 11/17
elixir-ci.yml Elixir Matrix, PostgreSQL service, mix caching
docker-build.yml Docker Layer caching, conditional push

CD

Template Target Auth
deploy-aws-ecs.yml AWS ECS OIDC
docker-publish-ghcr.yml GitHub Container Registry GITHUB_TOKEN

Security

Template Purpose Features
codeql-analysis.yml Code scanning Multi-language security analysis
dependabot.yml Dependency updates Automated PR creation

Automation

Template Purpose Features
stale-issues.yml Issue management Auto-close stale issues/PRs
auto-label-pr.yml PR labeling Auto-label PRs by changed files
changelog-generator.yml Release automation Generate changelogs from commits
scheduled-backup.yml Data backup Automated backups to cloud storage

Reusable Workflows

Template Purpose Features
build-and-test.yml Multi-language CI Reusable build/test for Node/Python/Java
docker-build-push.yml Container builds Multi-platform Docker builds with caching
deploy-environment.yml Environment deployment Deployments with rollback and health checks

Composite Actions

Template Purpose Features
setup-project/ Project setup Language runtime + dependency setup
notify-slack/ Notifications Flexible Slack notifications
version-bump/ Version management Semantic versioning from conventional commits

Usage

Each template includes:

  • Minimal required secrets
  • Appropriate caching strategies
  • Matrix builds where applicable
  • OIDC authentication where possible
  • Clear documentation in comments

Docs

Contributing

Found a bug or want to add a template? Please open an issue or submit a pull request.

License

MIT

About

Reusable, production-ready GitHub Actions workflow templates for common CI/CD patterns.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors