Skip to content

fix: remove unused coder-organization from code path#17

Open
mafredri wants to merge 1 commit intomainfrom
fix/unused-coder-organization
Open

fix: remove unused coder-organization from code path#17
mafredri wants to merge 1 commit intomainfrom
fix/unused-coder-organization

Conversation

@mafredri
Copy link
Copy Markdown
Member

The coder-organization input was accepted, validated, and logged, but never used by any API call. Six of seven reviewers flagged this. Users setting it would reasonably expect it to scope the action to that organization.

Removes validation and reading from the code path. The action.yaml input is kept with a deprecationMessage for backwards compatibility. GitHub will surface a warning to any workflow that sets it.

Also fixes required: true in index.ts which contradicted action.yaml's required: false.

Found by review panel (Bisky, Hisoka, Robin, Komugi, Luffy, Killua).

🤖 This PR was created with the help of Coder Agents, and will be reviewed by a human. 🏂🏻

@mafredri mafredri requested a review from david-fraley March 20, 2026 12:22
The input was read, validated, and logged but never passed to
any API call. This misleads users into thinking the action can
be scoped to a specific organization.

Keep the input in action.yaml for backwards compatibility but
add deprecationMessage so GitHub surfaces a warning. Remove it
from the schema, index.ts, and all test fixtures.
@mafredri mafredri force-pushed the fix/unused-coder-organization branch from d2a046c to 41f059c Compare March 20, 2026 13:22
@mafredri mafredri marked this pull request as ready for review March 20, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant