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 5 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
19 changes: 5 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,26 @@
version: 2
updates:
- package-ecosystem: pip
directory: "/docs"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "04:00"
timezone: "Europe/Berlin"
labels:
- "cookiecutter"
- "dependencies"
- "python"
open-pull-requests-limit: 99
- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
interval: daily
time: "04:00"
timezone: "Europe/Berlin"
labels:
- "cookiecutter"
- "dependencies"
- "python"
open-pull-requests-limit: 99
- package-ecosystem: github-actions
directory: "/"
- package-ecosystem: pip
directory: "/docs"
schedule:
interval: daily
time: "04:00"
timezone: "Europe/Berlin"
labels:
- "cookiecutter"
- "dependencies"
- "github_actions"
open-pull-requests-limit: 99
- "python"
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: 7 additions & 6 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,15 +1921,14 @@ Dependabot

Dependabot_ creates pull requests with automated dependency updates.

Follow these steps to set up Dependabot for your repository:
Enable `Security Updates` from the `Security` tab on the repository under `Dependabot alerts` > `Dependabot Security Updates`.
staticdev marked this conversation as resolved.
Show resolved Hide resolved

1. Sign up at Dependabot_.
2. Install their GitHub app.
More on `official documentation`_ for GitHub Dependabot.
staticdev marked this conversation as resolved.
Show resolved Hide resolved

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://help.github.com/en/github/administering-a-repository/customizing-dependency-updates
staticdev marked this conversation as resolved.
Show resolved Hide resolved

Dependabot integrates with your repository via its GitHub app.
staticdev marked this conversation as resolved.
Show resolved Hide resolved

Expand All @@ -1950,6 +1949,8 @@ It manages the following dependencies:
=================== ===================================== ================================================


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

staticdev marked this conversation as resolved.
Show resolved Hide resolved
.. _Read the Docs integration:

Read the Docs
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