← Browse
no-third-party-pr
DylanMerigaud ★ 1
This PreToolUse hook prevents opening pull requests on GitHub repositories you don't own by parsing and blocking commands like `gh pr create`, `gh api`, GraphQL mutations, and shell scripts that target third-party repos. It reads the repository owner from `-R` flags, `GH_REPO` environment variables, or git remotes, and can optionally allow specific pull requests via a configured exemption command.
Install
> /plugin marketplace add DylanMerigaud/trimwrit/tree/HEAD/plugins/no-third-party-pr
> /plugin install no-third-party-pr
Source: https://github.com/DylanMerigaud/trimwrit/tree/HEAD/plugins/no-third-party-pr
What it's made of
1 hook
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 1 · PreToolUse
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
python3- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (DylanMerigaud).