Skip to content

Commit

Permalink
Add upgraded config files and process documentation
Browse files Browse the repository at this point in the history
Update legacy documentation

Fix extra space on YAML

Fix other space pre-commit didn't get
  • Loading branch information
staticdev committed Jul 8, 2020
1 parent c924526 commit 2a16143
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 55 deletions.
35 changes: 10 additions & 25 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,20 @@
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
time: "09:00"
open-pull-requests-limit: 10
- 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: "/"
time: "09:00"
open-pull-requests-limit: 10
- package-ecosystem: pip
directory: "/docs"
schedule:
interval: daily
time: "04:00"
timezone: "Europe/Berlin"
labels:
- "cookiecutter"
- "dependencies"
- "github_actions"
open-pull-requests-limit: 99
time: "09:00"
open-pull-requests-limit: 10
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Dependabot

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

3. Enable `Security Updates` from the `Security` tab on the repository under `Dependabot alerts` > `Dependabot Security Updates`.

Read the Docs
~~~~~~~~~~~~~
Expand Down
7 changes: 4 additions & 3 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 @@ -1925,11 +1925,12 @@ Follow these steps to set up Dependabot for your repository:

1. Sign up at Dependabot_.
2. Install their GitHub app.
3. Enable `Security Updates` from the `Security` tab on the repository under `Dependabot alerts` > `Dependabot Security Updates`.

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

Dependabot integrates with your repository via its GitHub app.

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

This file was deleted.

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

0 comments on commit 2a16143

Please sign in to comment.