Skip to content

Authenticate the editorconfig-checker download - #3352

Merged
xirvik merged 1 commit into
Novik:masterfrom
xirvik:ci/authenticate-editorconfig-download
Oct 6, 2026
Merged

xirvik merged 1 commit into
Novik:masterfrom
xirvik:ci/authenticate-editorconfig-download

Conversation

@xirvik

@xirvik xirvik commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

The npm wrapper asks the GitHub API which release asset to fetch, and it builds its client with GITHUB_TOKEN. Without one the request is anonymous and shares a single rate limit with everything else running from the runner's address, so the step fails before it reads a file:

GET /repos/editorconfig-checker/editorconfig-checker/releases/tags/v4.0.1 - 403
Failed to download binary:
HttpError: API rate limit exceeded

Hand it the workflow token, which carries its own limit. The job is advisory, so this failure cost no merge, but it reports red on unrelated pull requests and hides a real whitespace finding when there is one.

The npm wrapper asks the GitHub API which release asset to fetch, and it
builds its client with GITHUB_TOKEN. Without one the request is
anonymous and shares a single rate limit with everything else running
from the runner's address, so the step fails before it reads a file:

  GET /repos/editorconfig-checker/editorconfig-checker/releases/tags/v4.0.1 - 403
  Failed to download binary:
  HttpError: API rate limit exceeded

Hand it the workflow token, which carries its own limit. The job is
advisory, so this failure cost no merge, but it reports red on unrelated
pull requests and hides a real whitespace finding when there is one.
@xirvik
xirvik merged commit ef9f9b3 into Novik:master Oct 6, 2026
8 checks passed
@xirvik
xirvik deleted the ci/authenticate-editorconfig-download branch October 6, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant