strawgate/PR Label Control Panel
Maintains an interactive control panel in PR comments or body with toggleable automations synced to PR labels
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token with permissions to read and write PR labels and comments | yes | ${{ github.token }} |
| config | Inline YAML configuration for the control panel. Must contain an 'items' list. Each item has: label, title, tooltip, color, description, and optional mode (opt-in or opt-out). Can also include fork-items, advanced-items, and fork-forced-disabled-labels. Either 'config' or 'config-path' must be provided. | no | "" |
| config-path | Path to a YAML config file in the repository (fetched from the default branch via API, no checkout needed). Either 'config' or 'config-path' must be provided. | no | "" |
| location | Where to render the control panel: "comment" (default) or "body" | no | comment |
| marker | HTML comment marker used to identify the control panel section | no | <!-- pr-control-panel --> |
| panel-header | Header text displayed above the control panel | no | 🤖 AI Assistant 🤖 |
Outputs
| name | description |
|---|---|
| comment-id | ID of the control panel comment (only set when location is "comment") |
| labels-added | Comma-separated list of labels that were added |
| labels-removed | Comma-separated list of labels that were removed |