Commit graph

8 commits

Author SHA1 Message Date
James Rich
1b2c4f41c6 fix: add retry and graceful fallback for rate-limited label API calls
- retries: 3 with 403 removed from exempt list so rate-limit responses
  are retried with backoff (octokit/plugin-retry respects Retry-After)
- Wrap addLabels call in try/catch so rate-limit failures emit a
  warning instead of hard-failing the job
2026-04-09 12:31:53 -05:00
James Rich
9a3daa9e26 fix: replace actions/labeler with inline script to eliminate rate limiting
actions/labeler@v6 fetches the PR via API on every run, which silently
fails with 'Could not find pull request' when the installation rate
limit is exhausted. Replace it with an inline github-script that reads
the branch name directly from the event payload (zero API calls for
branch-name rules). The .github file-change check for the 'repo' label
is the only rule that needs an API call, and it's skipped when the
branch name already matches.

Also removes .github/labeler.yml which is no longer needed.
2026-04-09 12:22:44 -05:00
James Rich
93e711e0f2 fix: scope labeler trigger to opened/synchronize and fix bugfix typo
- Restrict pull-request-target.yml to only 'opened' and 'synchronize'
  events to reduce unnecessary API calls that exhaust the rate limit
- Fix 'bugpost' typo back to 'bugfix' in pr_enforce_labels.yml
2026-04-09 12:22:44 -05:00
James Rich
1c1c208d48
chore(ci): implement tiered GitHub Actions runner strategy (#4937)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
2026-03-26 18:18:03 +00:00
renovate[bot]
20c87cdafd
chore(deps): update actions/labeler action to v6 (#2963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 21:29:27 +00:00
DaneEvans
2daf1ba67b
labeler tweaks (#2617) 2025-08-02 16:08:45 +00:00
DaneEvans
446cf81bd0
move label checker into same pipeline (#2597) 2025-08-01 00:58:22 +00:00
DaneEvans
7b4a4d9ae0
Feat/2586 pr labeler (#2587) 2025-07-31 14:19:23 +00:00