Skip to content

Commit a8941b8

Browse files
authored
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)
1 parent 0413b98 commit a8941b8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,24 @@ It is useful to watch this repository (release only) to check the [latest releas
518518

519519
[latest release]: https://github.com/peaceiris/actions-gh-pages/releases
520520

521+
For continuous updating, we can use the GitHub native Dependabot.
522+
Here is an example configuration of the bot. The config file is located in `.github/dependabot.yml`.
523+
524+
```yaml
525+
version: 2
526+
updates:
527+
- package-ecosystem: "github-actions"
528+
directory: "/"
529+
schedule:
530+
interval: "daily"
531+
labels:
532+
- "dependencies:ci"
533+
commit-message:
534+
prefix: ci
535+
```
536+
537+
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)
538+
521539
<div align="right">
522540
<a href="#table-of-contents">Back to TOC ☝️</a>
523541
</div>

0 commit comments

Comments
 (0)