mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 11:35:48 +00:00
Passing a `token` value causes this action to use the GitHub REST API, which is subject to rate limits. We can chew through that allowance quickly (1,000 requests/hour) given that we run two of these actions per workflow run. `token` defaults to the workflow's token, but by setting it explicitly to an empty string, the action will instead use `git diff` to determine the modified paths. This works fine for our case because we're already running the checkout action, so we have an up-to-date repository view. This also has the advantage of working around the 300 files GitHub REST API limit for listing changed files. Ref: https://github.com/dorny/paths-filter