{"id":51460764,"url":"https://github.com/sagargupta16/shared-workflows","last_synced_at":"2026-07-06T05:01:24.420Z","repository":{"id":359524239,"uuid":"1246323151","full_name":"Sagargupta16/shared-workflows","owner":"Sagargupta16","description":"Reusable GitHub Actions workflows for Node.js, Python, Terraform, Docker, GitHub Pages, and security scanning","archived":false,"fork":false,"pushed_at":"2026-07-01T15:05:20.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-01T17:08:55.122Z","etag":null,"topics":["ci-cd","devops","github-actions","reusable-workflows"],"latest_commit_sha":null,"homepage":null,"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/Sagargupta16.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":null,"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":"2026-05-22T04:53:24.000Z","updated_at":"2026-07-01T15:05:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Sagargupta16/shared-workflows","commit_stats":null,"previous_names":["sagargupta16/shared-workflows"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sagargupta16/shared-workflows","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagargupta16%2Fshared-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagargupta16%2Fshared-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagargupta16%2Fshared-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagargupta16%2Fshared-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sagargupta16","download_url":"https://codeload.github.com/Sagargupta16/shared-workflows/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sagargupta16%2Fshared-workflows/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35178403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ci-cd","devops","github-actions","reusable-workflows"],"created_at":"2026-07-06T05:01:21.464Z","updated_at":"2026-07-06T05:01:24.402Z","avatar_url":"https://github.com/Sagargupta16.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sagargupta16/shared-workflows\n\nReusable GitHub Actions workflows for all my repos. Call them from any repo's CI with a thin `uses:` reference.\n\n## Available workflows\n\n| Workflow | Purpose | Inputs |\n|----------|---------|--------|\n| `node-ci.yml` | Install + lint + build + test (auto-detects pnpm/npm/yarn) | `node-version`, `run-tests`, `run-lint`, `working-directory` |\n| `python-ci.yml` | uv sync + ruff check + ruff format + pytest | `python-version`, `working-directory`, `run-tests` |\n| `deploy-gh-pages.yml` | Build + deploy to GitHub Pages | `node-version`, `build-command`, `output-dir`, `working-directory` |\n| `docker-build-scan.yml` | Docker buildx + Trivy SARIF scan (no push) | `context`, `dockerfile`, `trivy-severity` |\n| `security-scan.yml` | Dependency Review + Trivy filesystem scan | `fail-on-severity` |\n| `terraform-ci.yml` | fmt + validate + Checkov SARIF | `working-directory`, `terraform-version` |\n| `release.yml` | Tag-triggered build + GitHub Release with changelog | `node-version`, `build-command`, `artifact-path` |\n\n## Usage\n\n```yaml\n# .github/workflows/ci.yml in any consumer repo\nname: CI\non:\n  push:\n    branches: [main]\n  pull_request:\n\njobs:\n  build:\n    uses: Sagargupta16/shared-workflows/.github/workflows/node-ci.yml@v1\n\n  deploy:\n    if: github.ref == 'refs/heads/main' \u0026\u0026 github.event_name == 'push'\n    needs: build\n    uses: Sagargupta16/shared-workflows/.github/workflows/deploy-gh-pages.yml@v1\n    with:\n      output-dir: dist\n\n  security:\n    uses: Sagargupta16/shared-workflows/.github/workflows/security-scan.yml@v1\n    permissions:\n      contents: read\n      security-events: write\n```\n\n## Design principles\n\n- **Auto-detect** package manager from lockfile (no manual config)\n- **Skip gracefully** if a script doesn't exist (no `lint` script? skip lint step)\n- **Minimal inputs** with sensible defaults — most repos need zero config\n- **Security by default** — Trivy + Dependency Review on every workflow\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagargupta16%2Fshared-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsagargupta16%2Fshared-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsagargupta16%2Fshared-workflows/lists"}