Skip to content

feat: allow GitHub team trigger filters - #54

Open
michaelmwu wants to merge 11 commits into
getpaseo:mainfrom
michaelmwu:agent/github-team-trigger-filters
Open

feat: allow GitHub team trigger filters#54
michaelmwu wants to merge 11 commits into
getpaseo:mainfrom
michaelmwu:agent/github-team-trigger-filters

Conversation

@michaelmwu

@michaelmwu michaelmwu commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add GitHub filters.from_teams allowlists using organization/team-slug
  • check membership with the webhook installation token and accept only active members
  • fail closed for pending, absent, unavailable, or permission-denied membership checks
  • update the single-repository team-bot example and coverage

Why

Workflow authors should be able to authorize a GitHub team without maintaining a list of every member login.

User impact

from_teams is GitHub-only and combines with from_users as an OR allowlist. It requires the GitHub App Members permission with read access; if membership cannot be established, Hub does not start a run.

Canonical documentation

  • Companion docs PR: getpaseo/paseo#3388 documents filters.from_teams, its OR behavior with from_users, and the GitHub App Members read permission.

Validation

  • npm run typecheck
  • npm run lint
  • npm run format:check
  • focused GitHub trigger, compiler, provider, membership, and reaction tests
  • npm test was attempted; unrelated Testcontainers-based daemon and integration tests could not run because this environment has no working container runtime

@michaelmwu
michaelmwu force-pushed the agent/github-team-trigger-filters branch from c29fe1a to 390fda6 Compare August 17, 2026 00:15
# Conflicts:
#	src/triggers/github/match.test.ts
#	src/triggers/github/match.ts
#	src/triggers/github/provider.test.ts
# Conflicts:
#	src/triggers/github/provider.test.ts
…rs' into add-limited-llm-access-for-hub-routing

# Conflicts:
#	src/triggers/github/match.test.ts
#	src/triggers/github/match.ts
#	src/triggers/github/provider.test.ts
@michaelmwu
michaelmwu marked this pull request as ready for review August 27, 2026 00:21

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2d224667c0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/triggers/github/match.ts
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T20:24:28.456270Z e0feb1e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e0feb1e1a1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread examples/single-repo-team-bot/README.md
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