AutoPub plugins maintained by Strawberry GraphQL.
InviteContributorsPlugin(strawberry_autopub_plugins.invite_contributors:InviteContributorsPlugin)- Invites PR contributors to a GitHub organization after
autopub publish. - Optionally adds them to a team.
- Invites PR contributors to a GitHub organization after
pip install strawberry-autopub-pluginsAdd the plugin path to your AutoPub config:
[tool.autopub]
plugins = [
"poetry",
"github",
"strawberry_autopub_plugins.invite_contributors:InviteContributorsPlugin",
]
[tool.autopub.plugin_config.invite_contributors]
organization = "strawberry-graphql"
team-slug = "strawberry-contributors"
role = "direct_member"
include-co-authors = true
# Optional: extend defaults.
# By default, skip-bots is true and these users are excluded:
# dependabot-preview[bot], dependabot-preview, dependabot, dependabot[bot]
exclude-users = ["renovate[bot]"]
dry-run = falseGITHUB_TOKENGITHUB_REPOSITORY
The token must be able to invite users to the target organization.
uv sync
uv run pytestWhen changing dependencies, update the lockfile:
uv lockThis repository is structured to host multiple plugins under src/strawberry_autopub_plugins/.