REPOMATIC-SPONSOR-LABEL(1) REPOMATIC-SPONSOR-LABEL(1)

repomatic sponsor-label - Label issues/PRs from GitHub sponsors

repomatic sponsor-label [OPTIONS]

Add a label to issues or PRs from GitHub sponsors.

Checks if the author of an issue or PR is a sponsor of the repository owner. If they are, adds the specified label.

This command requires the gh CLI to be authenticated.

When run in GitHub Actions, all parameters are auto-detected from environment variables ($GITHUB_REPOSITORY_OWNER, $GITHUB_REPOSITORY) and the event payload ($GITHUB_EVENT_PATH). You can override any auto-detected value by passing it explicitly.

GitHub username or organization to check sponsorship for. Defaults to $GITHUB_REPOSITORY_OWNER.
GitHub username of the issue/PR author to check. Defaults to author from $GITHUB_EVENT_PATH.
Repository in 'owner/repo' format. Defaults to $GITHUB_REPOSITORY.
Issue or PR number. Defaults to number from $GITHUB_EVENT_PATH.
Label to add if author is a sponsor.
Specify issue or pull request. Auto-detected from $GITHUB_EVENT_PATH.
Show this message and exit.

GitHub username or organization to check sponsorship for. Defaults to $GITHUB_REPOSITORY_OWNER.
GitHub username or organization to check sponsorship for. Defaults to $GITHUB_REPOSITORY_OWNER.
GitHub username of the issue/PR author to check. Defaults to author from $GITHUB_EVENT_PATH.
Repository in 'owner/repo' format. Defaults to $GITHUB_REPOSITORY.
Repository in 'owner/repo' format. Defaults to $GITHUB_REPOSITORY.
Issue or PR number. Defaults to number from $GITHUB_EVENT_PATH.
Label to add if author is a sponsor.
Specify issue or pull request. Auto-detected from $GITHUB_EVENT_PATH.
Show this message and exit.

0
Success.
1
A runtime error, or an aborted prompt (Ctrl-C, a declined confirmation).
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.

In GitHub Actions, with every default auto-detected

repomatic sponsor\-label

Override specific values

repomatic sponsor\-label \-\-label "sponsor"

Manual invocation with all values

repomatic sponsor\-label \-\-owner kdeldycke \-\-author some\-user \-\-repo kdeldycke/repomatic \-\-number 123 \-\-issue

Kevin Deldycke

2026-09-14 7.15.1.dev0