check-labels intermittently fails due to the organization IP allow list
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
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:
- Failed job
- Successful rerun, without changing the PR code or labels
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.
- 主要言語
- Ruby
- スター
- 2k
- フォーク
- 284
- 平均マージ
- 10時間 12分
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Shopify/ruby-lsp のほかの issue
-
Multi-line `<%# %>` ERB comments are parsed as Ruby, so semantic highlighting colors the prose as method calls対応中かも @Pybsama が 70 日前に担当しました。 オープンbug Stale
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Shopify/ruby-lsp#4181 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Linux file system with square brackets in the directory/filename are failing to be indexed対応中かも @andriytyurnikov が 203 日前に担当しました。 オープンbug help-wanted pinned
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Shopify/ruby-lsp#3503 · コメント 8 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Paths need to be escaped対応中かも @Vraiment が 4 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
メンテナーはふだん 1 日以内に返信
-
bug pinned
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
Shopify/ruby-lsp#4208 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
Shopify/ruby-lsp の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ublue-os/homebrew-experimental-tap#774 ·
メンテナーはふだん 1 日以内に返信
-
accessibility
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
slovensko-digital/ops-portal#212 ·
メンテナーはふだん 1 日以内に返信
-
Local evaluation buckets percentage splits with the server key, so results differ from Flagsmithオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Add Prestashopオープンrequest
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
endoflife-date/endoflife.date#11303 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100