From db7098cd249afc32f4cc79211d485dcdcf95fd47 Mon Sep 17 00:00:00 2001 From: Hydra Worker Date: Mon, 2 Nov 2026 16:44:05 +0000 Subject: [PATCH 1/2] chore(greenlight): add auto_approve_paths and opt in to the two_humans check The file was missing the required auto_approve_paths key, so Greenlight treated it as malformed. Advisory only: the two_humans check is not required in the ruleset yet. Co-Authored-By: Claude Opus 5.5 --- .github/greenlight.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/greenlight.yml b/.github/greenlight.yml index 45935ff9..39c16ac1 100644 --- a/.github/greenlight.yml +++ b/.github/greenlight.yml @@ -1,2 +1,16 @@ enabled: true required_reviewer_checks: [] +# Greenlight requires this key; without it the whole file is malformed and +# Greenlight ignores the repo. Empty: no path can auto-approve, so every +# PR needs a human. +auto_approve_paths: [] + +# Opt in to the two-humans rule. Greenlight posts a +# `greenlight/two-humans` check on every PR: one human for a PR +# Greenlight could auto-approve, two for any other PR. The check is not +# required in the ruleset yet, so it blocks nothing. `machine_users` +# lists user accounts that are bots; GitHub App (`[bot]`) accounts are +# excluded automatically. See greenlight/docs/onboarding-a-repo.md in +# dourolabs/prototypes. +two_humans: + machine_users: [pyth-ops] From 4cbc5949f497a2fb8498078834b65ab20a381be2 Mon Sep 17 00:00:00 2001 From: Hydra Worker Date: Tue, 3 Nov 2026 17:28:04 +0000 Subject: [PATCH 2/2] chore(greenlight): auto-approve all paths in pyth-examples The repo holds example code only. The server hard floor still keeps workflows, greenlight.yml, the prompts and CODEOWNERS human-only. Co-Authored-By: Claude Opus 5.5 --- .github/greenlight.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/greenlight.yml b/.github/greenlight.yml index 39c16ac1..d3e598dd 100644 --- a/.github/greenlight.yml +++ b/.github/greenlight.yml @@ -1,9 +1,11 @@ enabled: true required_reviewer_checks: [] # Greenlight requires this key; without it the whole file is malformed and -# Greenlight ignores the repo. Empty: no path can auto-approve, so every -# PR needs a human. -auto_approve_paths: [] +# Greenlight ignores the repo. This repo holds example code only, so every +# path can auto-approve. The server's hard floor still keeps +# .github/workflows/**, .github/greenlight.yml, .github/greenlight/prompts/** +# and **/CODEOWNERS behind a human. +auto_approve_paths: ["**"] # Opt in to the two-humans rule. Greenlight posts a # `greenlight/two-humans` check on every PR: one human for a PR