Skip to content

docs: add BATON_DIRECT_COLLABORATORS_ONLY to self-hosted PAT env vars (CXP-579) - #20

Merged
luisina-santos merged 2 commits into
mainfrom
carolinaroncaglia/cxp-579-docs-direct-collaborators-only
Jun 1, 2026
Merged

docs: add BATON_DIRECT_COLLABORATORS_ONLY to self-hosted PAT env vars (CXP-579)#20
luisina-santos merged 2 commits into
mainfrom
carolinaroncaglia/cxp-579-docs-direct-collaborators-only

Conversation

@carolinaroncaglia

Copy link
Copy Markdown
Contributor

Summary

  • The --direct-collaborators-only flag was introduced in v0.0.13 (baton-github v0.3.3).
  • docs/connector.mdx was partially updated: the Cloud-hosted tab and the Self-hosted GitHub App section already document this option, but the Self-hosted PAT section's optional environment variables table was missing BATON_DIRECT_COLLABORATORS_ONLY.
  • This PR adds the missing row to the Self-hosted > Option 1 (PAT) env vars table.

Closes CXP-579 / relates to CXP-562.

Test plan

  • Review the Self-hosted > Option 1 (PAT) section in docs/connector.mdxBATON_DIRECT_COLLABORATORS_ONLY row now appears after BATON_OMIT_ARCHIVED_REPOSITORIES.
  • Confirm no other occurrences of the flag are missing across the doc.

🤖 Generated with Claude Code

@linear-code

linear-code Bot commented May 27, 2026

Copy link
Copy Markdown

CXP-579

CXP-562

@github-actions

github-actions Bot commented May 27, 2026

Copy link
Copy Markdown
Contributor

Connector PR Review: docs: add BATON_DIRECT_COLLABORATORS_ONLY to self-hosted PAT env vars (CXP-579)

Blocking Issues: 0 | Suggestions: 0 | Threads Resolved: 0
Review mode: incremental since f348300
View review run

Review Summary

New commits parameterize the CI workflow by replacing hardcoded test values (BATON_ENTERPRISES, BATON_ORGS, BATON_INSTANCE_URL, and sync-test inputs) with GitHub Actions repository variables (${{ vars.* }}). This also removes the BATON_ENTERPRISES env var from CI, so enterprise role syncing will only run if BATON_ENTERPRISES is configured as a repository variable. No security or correctness issues found.

Security Issues

None found.

Correctness Issues

None found.

Suggestions

None.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No blocking issues found.

@luisina-santos
luisina-santos requested a review from a team May 28, 2026 15:39

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No blocking issues found.

@luisina-santos
luisina-santos merged commit d9b53b6 into main Jun 1, 2026
11 checks passed
@luisina-santos
luisina-santos deleted the carolinaroncaglia/cxp-579-docs-direct-collaborators-only branch June 1, 2026 19:12
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.

4 participants