{"id":50999007,"url":"https://github.com/workos/renovate-config","last_synced_at":"2026-06-20T12:34:23.474Z","repository":{"id":360538614,"uuid":"1229134598","full_name":"workos/renovate-config","owner":"workos","description":"A Mend renovate config that can be inherited by other repositories","archived":false,"fork":false,"pushed_at":"2026-06-15T16:59:35.000Z","size":33,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-15T17:03:53.251Z","etag":null,"topics":[],"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/workos.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-04T18:28:20.000Z","updated_at":"2026-06-15T15:01:32.000Z","dependencies_parsed_at":"2026-06-15T17:00:46.019Z","dependency_job_id":null,"html_url":"https://github.com/workos/renovate-config","commit_stats":null,"previous_names":["workos/renovate-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/workos/renovate-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Frenovate-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Frenovate-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Frenovate-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Frenovate-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/workos","download_url":"https://codeload.github.com/workos/renovate-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/workos%2Frenovate-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34570538,"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-06-20T02:00:06.407Z","response_time":98,"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":[],"created_at":"2026-06-20T12:34:20.277Z","updated_at":"2026-06-20T12:34:23.465Z","avatar_url":"https://github.com/workos.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# workos/renovate-config\n\nShared [Renovate](https://docs.renovatebot.com/) configuration presets for WorkOS repositories.\n\n## Purpose\n\nCentralize dependency-management policy across the org so that a single edit propagates to every consuming repo. This repository provides two presets:\n\n| Preset | File | Best for |\n|--------|------|----------|\n| **Default** | `default.json` | Internal repositories with conservative update policies |\n| **Public** | `public.json` | Public SDK and library repositories |\n\n## Presets\n\n### Default (`github\u003eworkos/renovate-config`)\n\nThe base preset that all WorkOS repositories can extend. It implements supply-chain hardening and conservative dependency management:\n\n- **Pins GitHub Actions to full commit SHAs** via `helpers:pinGitHubActionDigests`. Any newly-added action referenced by tag (e.g. `actions/checkout@v6`) gets auto-pinned to a SHA with a version comment (`@\u003csha\u003e # v6`).\n- **Enforces a 7-day minimum release age** (`minimumReleaseAge: \"7 days\"`). New action releases are not eligible for auto-update until they have been published for 7+ days.\n- **Treats missing release timestamps as \"not yet eligible\"** (`minimumReleaseAgeBehaviour: \"timestamp-required\"`) — the safer default introduced in Renovate 42.\n- **Suppresses branches for not-yet-eligible updates** (`internalChecksFilter: \"strict\"`) so the inbox stays quiet.\n- **Groups and auto-merges minor/patch/digest GitHub Actions updates** after CI passes. Major updates open a separate PR and require human review.\n- **Patch-only policy for software dependencies by default** — minor and major dependency updates are disabled in the base preset. Patch updates are auto-merged after CI passes and the 7-day minimum age is met. Patch PRs are labeled `renovate/patch` at creation time. Consuming repos can override this to enable minor updates (see [Enabling minor updates](#enabling-minor-updates)).\n- **Groups patch updates by dependency name** — all packages that use the same dependency are updated in a single PR. This ensures monorepos with version-consistency policies (e.g. Rush) pass lockfile validation. For single-package repos this is a no-op.\n- **After-hours schedule** — Renovate only runs outside business hours for both US coasts: weekdays 9 PM–7 AM Eastern (6 PM–4 AM Pacific), and all day on weekends. The weekend window closes at 7 AM ET Monday.\n- **Security/vulnerability PRs follow the same schedule** — Renovate's built-in default creates vulnerability-fix PRs immediately (`schedule: []`), bypassing any configured schedule. This preset overrides that default so security PRs are only opened during the same after-hours window as regular updates.\n\n### Public (`github\u003eworkos/renovate-config:public`)\n\nExtends the default preset with a more permissive update policy suited for public SDK and library repositories:\n\n- **Inherits all base protections** — SHA pinning, 7-day release age, GitHub Actions grouping.\n- **Enables minor and major dependency updates** — overrides the default patch-only policy.\n- **Automerges minor and patch updates** for all dependencies, grouped together.\n- **Major updates require human review** — not auto-merged.\n- **Monthly schedule** — runs on the 15th of each month before 12pm UTC.\n- **No merge-queue labels** — does not add labels like `aviator/merge` since public repos typically merge PRs directly.\n- **Security/vulnerability PRs fire immediately** — overrides the base preset's after-hours constraint so security fixes are not delayed in public repos.\n\n## How to use it\n\n### For internal repositories\n\nIn your repo's `renovate.json`:\n\n```json\n{\n  \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n  \"extends\": [\"github\u003eworkos/renovate-config\"]\n}\n```\n\n### For public SDK / library repositories\n\n```json\n{\n  \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n  \"extends\": [\"github\u003eworkos/renovate-config:public\"]\n}\n```\n\n### GitHub Actions only\n\nIf you only want Renovate to manage GitHub Actions in your repo (and not, say, `package.json`), add `enabledManagers`:\n\n```json\n{\n  \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n  \"extends\": [\"github\u003eworkos/renovate-config\"],\n  \"enabledManagers\": [\"github-actions\"]\n}\n```\n\nYou can also override anything from either preset locally — `extends` is mergeable.\n\n## Auto-approve workflow\n\nFor most repos, extending a preset is sufficient — Renovate will open and merge eligible PRs directly once CI passes.\n\nRepos that use Aviator as their merge queue require an additional step, because Aviator enforces a minimum approval count before queuing a PR. For those repos, add a small workflow that calls the shared auto-approve workflow hosted here. Create `.github/workflows/renovate-auto-approve.yml` in your repo:\n\n```yaml\nname: Auto-approve Renovate PRs\n\non:\n  pull_request:\n    types: [opened, labeled]\n\njobs:\n  auto-approve:\n    uses: workos/renovate-config/.github/workflows/auto-approve-renovate.yml@main\n    permissions:\n      pull-requests: write\n```\n\nThis workflow approves any PR opened by `renovate[bot]` that carries the `renovate/patch` or `renovate/minor` label, satisfying Aviator's approval precondition. Aviator then queues the PR once CI passes.\n\n## Enabling minor updates\n\nThe default preset disables minor (and major) updates for software dependencies. To opt in to automerged minor updates in a consuming repo, add a `packageRules` entry that re-enables them **and** labels the PRs so the auto-approve workflow fires:\n\n```json\n{\n  \"packageRules\": [\n    {\n      \"description\": \"Enable and automerge minor updates, grouped by dependency name.\",\n      \"matchManagers\": [\"!github-actions\"],\n      \"matchUpdateTypes\": [\"minor\"],\n      \"enabled\": true,\n      \"groupName\": \"{{{depName}}}\",\n      \"groupSlug\": \"{{{depNameSanitized}}}\",\n      \"automerge\": true,\n      \"addLabels\": [\"renovate/minor\"]\n    }\n  ]\n}\n```\n\nThe `addLabels: [\"renovate/minor\"]` is required — without it the auto-approve workflow's label check will never match and PRs will sit without approval.\n\n## Prerequisites\n\nThe [Mend Renovate GitHub App](https://github.com/apps/renovate) must be installed on your repo (or installed org-wide). Check at the [Mend dashboard](https://developer.mend.io/github/workos).\n\n## Changing the policy\n\nOpen a PR against this repo. Once merged, the change applies to every consuming repo on Renovate's next run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Frenovate-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworkos%2Frenovate-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworkos%2Frenovate-config/lists"}