devlooped/Sponsor Labeler
A GitHub Action that labels issues and pull requests if the creator is a sponsor (directly or indirectly via org or contributions).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| label | The default sponsor label to apply to the issue or pull request. Defaults to "sponsor 💜". | no | sponsor 💜 |
| contrib-label | The label to apply to the issue or pull request for past contributors. Defaults to "sponsor 💚". | no | sponsor 💚 |
| silver-label | The label to apply when sponsor amount is above the silver-amount. Defaults to "sponsor 🤍". | no | sponsor 🤍 |
| silver-amount | Sponsors over this amount are labeled with silver-label instead. Defaults to 50. | no | 50 |
| gold-label | The label to apply when sponsor amount is above the gold-amount. Defaults to "sponsor 💛". | no | sponsor 💛 |
| gold-amount | Sponsors over this amount are labeled with gold-label instead. Defaults to 100. | no | 100 |
| sponsorable | The account to check for sponsorship. Defaults to the repository owner. | no | ${{ github.repository_owner }} |
| token | The token to use for querying the GitHub API for sponsorship information. Typically set to secrets.GH_TOKEN. | yes | — |
| verbose | Whether to perform verbose logging when failing to find a sponsorship. Defaults to false. | no | false |
Outputs
no outputs