0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

`gh variables set -f`でGitHub Actions Variablesを一括設定すると500エラーになる時がある

Last updated at Posted at 2024-01-24

こんな感じのエラー

一括設定しようとするとたまにこんなエラーが出ます。

> gh variable set -f .env
✓ Created Actions variable VAR1 for matoruru/samplerepo
✓ Created Actions variable VAR2 for matoruru/samplerepo
✓ Created Actions variable VAR3 for matoruru/samplerepo
1 error occurred:
	* failed to set variable "VAR4": HTTP 500: Server Error (https://api.github.com/repos/matoruru/samplerepo/actions/variables)

解決方法

単にもう一回実行すればOK。

> gh variable set -f .env
✓ Created Actions variable VAR1 for matoruru/samplerepo
✓ Created Actions variable VAR2 for matoruru/samplerepo
✓ Created Actions variable VAR3 for matoruru/samplerepo
✓ Created Actions variable VAR4 for matoruru/samplerepo
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?