12
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

dependabot の pull request が作成されない事象の対応(PHP)

Last updated at Posted at 2024-04-23

記事対象者

dependabot の 諸々の設定は完了しているが、 Pull request が作成されない状況になっている方

原因

メニュー「Actions」
image.png
より、workflowsの状況を確認すると、失敗していることが分かる。
image.png

エラーを確認すると、php7.4.33と判定されている模様。(実際はphp8.1を利用していた)
image.png

解決方法

composer.json に phpのバージョン情報が記載されていない可能性がある。

composer.json に以下のようにphpのバージョン指定を行う。

    "require": {
        "php": "^8.1",
        .
        .

参考: https://github.com/dependabot/dependabot-core/issues/5301#issuecomment-1851597423

12
4
1

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
12
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?