fix: SyntaxError in gh_pr_watch.py — TRUSTED_AUTHOR_ASSOCIATIONS missing set literal brace

Resolved 💬 1 comment Opened Apr 16, 2026 by kuishou68 Closed Apr 16, 2026

Problem

In .codex/skills/babysit-pr/scripts/gh_pr_watch.py, line 33 contains a syntax error:

TRUSTED_AUTHOR_ASSOCIATIONS=***
    "OWNER",
    "MEMBER",
    "COLLABORATOR",
}

The assignment uses =*** instead of = {, which is invalid Python syntax. This causes an immediate SyntaxError when the module is imported or executed, making the entire PR babysitting skill non-functional.

Fix

Change line 33 from:

TRUSTED_AUTHOR_ASSOCIATIONS=***

to:

TRUSTED_AUTHOR_ASSOCIATIONS = {

This restores the correct set literal for TRUSTED_AUTHOR_ASSOCIATIONS, which is referenced on line 464 (return association in TRUSTED_AUTHOR_ASSOCIATIONS).

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗