问题描述
我在我的 React Native 应用程序的存储库中启用了 Dependabot GitHub 操作,但由于某种原因,它不会自动更新。我有 2 个依赖项不会: xmldon 0.5.0 and node-fetch 2.6.1
当我尝试创建 Dependabot 安全更新时,我不断收到此错误:
Dependabot Failed to update your dependencies because there was an error parsing the package.json found at /package.json.
Dependabot encountered the following error:
Dependabot::DependencyFileNotParseable
此外,我不应该手动创建dependabot安全更新,因为我的github操作应该自动执行它,如下所示:
# To get started with Dependabot version updates,you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
# Maintain dependencies for Python files in requirements.txt
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
路由:my-app/.github/dependabot.yml
我在这里遗漏了什么吗?我以完全相同的方式为我的网站启用了此功能,该网站是用 React.js 编写的,并且运行良好。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)