From a8941b89c6f5476753fcdadcacbfb73206faefb3 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Fri, 10 Jul 2020 11:41:10 +0900 Subject: [PATCH] docs: Add dependabot.yml example (#385) [Keeping your dependencies updated automatically - GitHub Docs](https://docs.github.com/en/github/administering-a-repository/keeping-your-dependencies-updated-automatically) --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index c95779e..bef4d8c 100644 --- a/README.md +++ b/README.md @@ -518,6 +518,24 @@ It is useful to watch this repository (release only) to check the [latest releas [latest release]: https://github.com/peaceiris/actions-gh-pages/releases +For continuous updating, we can use the GitHub native Dependabot. +Here is an example configuration of the bot. The config file is located in `.github/dependabot.yml`. + +```yaml +version: 2 +updates: +- package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + labels: + - "dependencies:ci" + commit-message: + prefix: ci +``` + +See the official documentation for more details about the Dependabot: [Keeping your dependencies updated automatically - GitHub Docs](https://docs.github.com/en/github/administering-a-repository/keeping-your-dependencies-updated-automatically) +