Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to GitHub Dependabot #402

Merged
merged 7 commits into from
Jul 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,6 @@ Codecov
2. Install their GitHub app.


Dependabot
~~~~~~~~~~

1. Sign up at Dependabot_.
2. Install their GitHub app.


Read the Docs
~~~~~~~~~~~~~

Expand Down
13 changes: 6 additions & 7 deletions docs/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ and links each file to a section with more details.
===================================== ========================================
``.cookiecutter.json`` :ref:`Project variables <Creating a project>`
``.darglint`` Configuration for :ref:`darglint <darglint integration>`
``.dependabot/config.yml`` Configuration for :ref:`Dependabot <Dependabot integration>`
``.github/dependabot.yml`` Configuration for :ref:`Dependabot <Dependabot integration>`
``.flake8`` Configuration for :ref:`Flake8 <The Flake8 hook>`
``.gitattributes`` `Git attributes <.gitattributes_>`__
``.gitignore`` `Git ignore file <.gitignore_>`__
Expand Down Expand Up @@ -1921,17 +1921,16 @@ Dependabot

Dependabot_ creates pull requests with automated dependency updates.

Follow these steps to set up Dependabot for your repository:

1. Sign up at Dependabot_.
2. Install their GitHub app.
Please refer to the `official documentation`__ for more details.

__ https://docs.github.com/en/github/administering-a-repository/keeping-your-dependencies-updated-automatically

The configuration is included in the repository,
in the file `.dependabot/config.yml`__.
in the file `.github/dependabot.yml`__.

__ https://dependabot.com/docs/config-file/
__ https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates

Dependabot integrates with your repository via its GitHub app.

It manages the following dependencies:

Expand Down
26 changes: 0 additions & 26 deletions {{cookiecutter.project_name}}/.dependabot/config.yml

This file was deleted.

18 changes: 18 additions & 0 deletions {{cookiecutter.project_name}}/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
interval: daily
- package-ecosystem: pip
directory: "/docs"
schedule:
interval: daily
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily