{"id":24862117,"url":"https://github.com/dnlopes/reusable.workflows","last_synced_at":"2026-04-03T00:54:38.953Z","repository":{"id":209085534,"uuid":"722772471","full_name":"dnlopes/Reusable.Workflows","owner":"dnlopes","description":"A set of reusable GitHub Workflows","archived":false,"fork":false,"pushed_at":"2026-02-06T01:56:38.000Z","size":308,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-06T11:25:00.672Z","etag":null,"topics":["exclude-from-reconciliation","github-actions","managed-by-terraform","workflows"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnlopes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-23T23:13:50.000Z","updated_at":"2026-02-06T01:56:19.000Z","dependencies_parsed_at":"2023-12-08T00:24:00.540Z","dependency_job_id":"f981165e-3bcd-4bd7-a7ab-f84e0b938300","html_url":"https://github.com/dnlopes/Reusable.Workflows","commit_stats":null,"previous_names":["dnlopes/github-workflows","dnlopes/reusable.workflows"],"tags_count":168,"template":false,"template_full_name":null,"purl":"pkg:github/dnlopes/Reusable.Workflows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlopes%2FReusable.Workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlopes%2FReusable.Workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlopes%2FReusable.Workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlopes%2FReusable.Workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnlopes","download_url":"https://codeload.github.com/dnlopes/Reusable.Workflows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnlopes%2FReusable.Workflows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29892905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T09:48:51.284Z","status":"ssl_error","status_checked_at":"2026-02-27T09:48:43.992Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exclude-from-reconciliation","github-actions","managed-by-terraform","workflows"],"created_at":"2025-01-31T22:42:50.081Z","updated_at":"2026-02-27T11:53:44.603Z","avatar_url":"https://github.com/dnlopes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n---\nscope:\n  - \".github/workflows/*.yaml\"\nlast_updated: \"2025-12-06T02:00:43Z\"\n---\n--\u003e\n\n# Reusable GitHub Workflows\n\nStandardized CI/CD pipelines for your repositories. Drop-in workflows for Golang, Python, Terraform/OpenTofu, Docker, and security scanning.\n\n## Features\n\n- **Multi-language CI** - Pre-built pipelines for Go, Python, Terraform/OpenTofu\n- **Docker integration** - Build and push to AWS ECR with OIDC authentication\n- **Security scanning** - Trivy vulnerability scanning with PR comments\n- **Quality gates** - Pre-commit hooks, semantic PR validation, code coverage\n- **Automated releases** - Semantic versioning with conventional commits\n- **Monorepo support** - Run workflows in subdirectories via inputs\n\n## Quick Start\n\nAdd a workflow file to your repository:\n\n```yaml\n# .github/workflows/ci.yml\nname: CI\non: [pull_request]\n\njobs:\n  golang:\n    uses: dnlopes/github-workflows/.github/workflows/golang.yaml@v1\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n```\n\n## Available Workflows\n\n| Workflow | Purpose | Required Secrets |\n|----------|---------|------------------|\n| `golang.yaml` | Build, test, lint, coverage | `CODECOV_TOKEN` (optional) |\n| `python.yaml` | Unit tests, coverage | `CODECOV_TOKEN` (optional) |\n| `terraform.yaml` | Validate, plan, apply, destroy | AWS OIDC credentials |\n| `docker-build-push.yaml` | Build and push to ECR | AWS OIDC credentials |\n| `trivy-scan.yaml` | Security vulnerability scanning | None |\n| `semantic-pr.yaml` | Enforce semantic PR titles | None |\n| `pre-commit-hooks.yaml` | Run pre-commit hooks | None |\n\n## Usage Examples\n\n### Golang Project\n\n```yaml\njobs:\n  ci:\n    uses: dnlopes/github-workflows/.github/workflows/golang.yaml@v1\n    with:\n      goVersion: \"1.22\"\n      golangProjectDir: \".\"\n      buildCommand: \"make build\"\n      testCommand: \"make test\"\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n```\n\n### Python Project\n\n```yaml\njobs:\n  ci:\n    uses: dnlopes/github-workflows/.github/workflows/python.yaml@v1\n    with:\n      pythonVersion: \"3.12\"\n      setupCommand: \"pip install -e .[dev]\"\n      testCommand: \"pytest --cov\"\n    secrets:\n      CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n```\n\n### Terraform Plan\n\n```yaml\njobs:\n  plan:\n    uses: dnlopes/github-workflows/.github/workflows/terraform.yaml@v1\n    with:\n      action: plan\n      workspace: production\n      tfVarsFile: environments/prod.tfvars\n      awsRegion: us-east-1\n      awsRoleArn: arn:aws:iam::123456789:role/terraform\n```\n\n### Security Scanning\n\n```yaml\njobs:\n  security:\n    uses: dnlopes/github-workflows/.github/workflows/trivy-scan.yaml@v1\n    with:\n      scanDirectory: \".\"\n```\n\n### Semantic PR Validation\n\n```yaml\njobs:\n  validate:\n    uses: dnlopes/github-workflows/.github/workflows/semantic-pr.yaml@v1\n```\n\n## Version Pinning\n\nReference workflows using semantic versioning:\n\n- `@v1` - Major version (recommended, receives minor/patch updates)\n- `@v1.2` - Minor version (receives patch updates only)\n- `@v1.2.3` - Exact version (pinned, no automatic updates)\n\n## Prerequisites\n\n- **All workflows**: GitHub Actions enabled in your repository\n- **Coverage workflows**: `CODECOV_TOKEN` secret configured\n- **AWS workflows**: OIDC trust relationship between GitHub and AWS\n- **Terraform**: IAM role ARN and tfvars file in repository\n\n## Documentation\n\n- [Architecture](docs/architecture.md) - System design and components\n- [Domain](docs/domain.md) - Terminology and business rules\n- [Patterns](docs/patterns.md) - Code conventions and examples\n- [Development](docs/development.md) - Contributing guidelines\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnlopes%2Freusable.workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnlopes%2Freusable.workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnlopes%2Freusable.workflows/lists"}