9
0

More than 1 year has passed since last update.

「Waiting for a runner to pick up this job...」と表示されてGithub Actionsがスタートしない

Posted at

「Waiting for a runner to pick up this job...」と表示されてGithub Actionsがスタートしない

せっかくGithub Actionsを設置したのに、「Waiting for a runner to pick up this job...」と言われて、いつまでたってもCIがスタートしないことがあります。↓実際のエラー

Requested labels: ubuntu
Job defined at: kojix2/chatgpt-cli/.github/workflows/build.yml@refs/heads/main
Waiting for a runner to pick up this job...
Requested labels: macos
Job defined at: kojix2/chatgpt-cli/.github/workflows/build.yml@refs/heads/main
Waiting for a runner to pick up this job...

特にエラーも出ないため、これだけ見ると、GitHub側の障害のようにも見えてしまいますが違います。
実はこれ、OSの指定が間違っていました。ubuntu-latest macos-latest などとしなければならないところが、単に ubuntu macos などとなっていたんです。OSの指定を直すと、すぐに動くようになりました。

この記事は以上です。
これに気がつくのに1日以上かかりました。誰かの役に立ちますように。

9
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
0