DEV Community

Shootacean
Shootacean

Posted on • Edited on • Originally published at shootacean.com

1 1

GitHub Organizations で GitHub Actions を利用しようとした際の Permission Error

エラー内容

Only actions in "hoge-organization" are allowed for this repository

原因

GitHubの該当リポジトリのページ > Settings > Actions > Actions Permissions を確認してください。

Enable local Actions only for this repository が選択されている場合、
3rd PartyのGitHub Actions は利用できません。

対応

以下のどちらかで対応可能です。

  • GitHub Actions 内の 3rd Party の Action定義を削除する
    • GitHub Actions 初期テンプレートなら actions/checkout@v2 の部分
  • Actions Permissions を Enable local and third party Actions for this repository に変更する

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay