# Add one-off workflow to fix PRs with failed size checks \(\#51958\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5645d8789365206ada72de9b29b7e0f020a7a9b4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5645d8789365206ada72de9b29b7e0f020a7a9b4

Requested commit: 5645d8789365206ada72de9b29b7e0f020a7a9b4

Commit: 5645d8789365206ada72de9b29b7e0f020a7a9b4

Tree: 289f3ff04a9216e522ca8b75d73817ad3f2e1b9c

Author: John D\. Swanson

Committer: GitHub

## Message

```
Add one-off workflow to fix PRs with failed size checks (#51958)

## Context

The permissions ceiling bug (fixed in #51948) left two open PRs (#51897,
#50372) with failed `check-size` runs. The Check Runs API requires
GitHub App auth, so we can't post passing checks from the CLI — it needs
to run inside Actions with `checks: write`.

This adds a `workflow_dispatch` workflow that takes comma-separated PR
numbers, computes sizes, applies labels, and posts passing check runs.
Delete after use.

## How to Review

- Single file: `.github/workflows/fix-size-check.yml`
- Uses the same size logic and ignored patterns as `pr-size-check.yml`
- Input is `pr_numbers` (comma-separated integers), accessed via JS API,
not shell interpolation

## Self-Review Checklist

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
```

## Parents

- [dbfde8f648e1565cbbb4796cb6965dbae89c7014](https://git.cafe/gitcafe/zed/commit/dbfde8f648e1565cbbb4796cb6965dbae89c7014?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5645d8789365206ada72de9b29b7e0f020a7a9b4?format=markdown)
