github/dependabot-action

GitHub: github/dependabot-action

GitHub 官方的 Dependabot Action,通过 GitHub Actions 运行依赖版本更新与安全修复工作流,主要服务于 GitHub.com 和 GHES 平台的内置功能。

Stars: 135 | Forks: 70

Dependabot Dependabot

# Updater Action **名称:** `github/dependabot-action` 通过 GitHub Actions 运行 Dependabot 工作负载。 ## 使用说明 此 action 供 GitHub.com 中的 Dependabot [版本][docs-version-updates]和[安全][docs-security-updates]功能使用。它不支持直接在工作流文件中使用。 ## 在 GitHub Enterprise Server (GHES) 上手动升级 `dependabot-action` 要手动在您的 [GitHub Enterprise Server (GHES)](https://github.com/enterprise)上升级 `dependabot-action`,请按照[这些说明](https://docs.github.com/en/enterprise-server/admin/managing-github-actions-for-your-enterprise/managing-access-to-actions-from-githubcom/manually-syncing-actions-from-githubcom)操作。 **警告:** 当前发布的 `dependabot-action` 仅保证与[当前支持的 GHES 版本](https://docs.github.com/en/enterprise-server/admin/all-releases)向后兼容。一旦某个 GHES 版本被弃用,未来版本的 `dependabot-action` 可能会引入不兼容的更改。 ## 合并/部署 PR 所需的步骤 1. 对 PR 进行更改 2. 运行以下命令: ``` npm run lint-check npm run format-check -- --write npm run test ``` ``` nvm install;nvm use;npm clean-install;npm ci;npm run package ``` 注意:如果您不执行上述步骤 ☝️ 并提交代码,CI 将会失败并出现以下错误: ``` Run script/check-diff Detected uncommitted changes after build: diff --git a/dist/main/index.js b/dist/main/index.js index c09ccea..8f50b37 1006[4](https://github.com/github/dependabot-action/actions/runs/7720200685/job/21044694134?pr=1156#step:7:5)4 Binary files a/dist/main/index.js and b/dist/main/index.js differ diff --git a/dist/main/index.js.map b/dist/main/index.js.map index cc44481..e[5](https://github.com/github/dependabot-action/actions/runs/7720200685/job/21044694134?pr=1156#step:7:6)0840f 100[6](https://github.com/github/dependabot-action/actions/runs/7720200685/job/21044694134?pr=1156#step:7:7)44 Binary files a/dist/main/index.js.map and b/dist/main/index.js.map differ ``` 3. 提交并推送代码更改 4. PR 批准后,只需合并该 PR 即可。这将使得 PR 被部署到生产环境 ## 问题 如果您在使用 Dependabot 时遇到任何问题,请在 [dependabot/dependabot-core][code-dependabot-core] 上[提交一个 issue][code-dependabot-core-new-issue] 或联系 GitHub 支持。
标签:GitHub Actions, MITM代理, 依赖管理, 暗色界面, 网络调试, 自动化, 自动化攻击, 自动笔记