brookenf/Backfill Issue Labels
Backfill a label to existing repository issues with rate limiting and pagination support
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| label-name | Label name to add to issues | yes | — |
| issue-state | Issue state filter: all, open, or closed | no | all |
| label-color | Color for label if it needs to be created (hex without #) | no | 0366d6 |
| label-description | Description for label if it needs to be created | no | "" |
| batch-size | Number of issues to process before pausing (rate limiting) | no | 50 |
| batch-delay | Delay in milliseconds between batches | no | 2000 |
| dry-run | Preview changes without applying them | no | false |
| github-token | GitHub token for API access | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| issues-processed | Number of issues processed |
| issues-labeled | Number of issues successfully labeled |
| issues-skipped | Number of issues skipped (already had label) |
| issues-failed | Number of issues that failed to be labeled |