Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

check-labels intermittently fails due to the organization IP allow list

Đang mở
#4,219 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@soutaro đang làm issue này rồi.

Từ ngày 2/10/2026.

  • #4225 của @soutaro — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

The required check-labels job can fail while fetching PR labels because GitHub rejects the API request under the organization's IP allow list. This can block merging a correctly labeled PR until the check succeeds.

On #4217, the PR had chore and dependencies labels, both of which satisfy bin/check_labels, but the job failed before it could validate them:

The failed job reports:

GraphQL: ... the `Shopify` organization has an IP allow list enabled, and your IP address is not permitted to access this resource. (repository)

The empty command output is then passed to bin/check_labels, which raises JSON::ParserError.

The workflow runs on ubuntu-latest and uses gh pr view --json labels with the standard Actions token (GH_TOKEN: ${{ github.token }}). GitHub documents that organization IP allow lists apply to authenticated access to public resources, including GITHUB_TOKEN.

The rejection is explicit in the failure log, but I have not confirmed why the rerun was permitted; the outgoing IP addresses were not recorded.

Ngôn ngữ chính
Ruby
Star
2k
Fork
283
Merge trung bình
9 giờ 18 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Shopify/ruby-lsp

Tất cả issue của Shopify/ruby-lsp

Issue tương tự

Thêm issue về Ruby

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.