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

feat: optimize Dependabot config #220

Merged
merged 4 commits into from
Apr 21, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
path: template

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.9"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,29 @@ updates:
commit-message:
prefix: "ci"
prefix-development: "ci"
include: "scope"
include: scope
groups:
ci-dependencies:
patterns:
- "*"
- package-ecosystem: pip
directory: /
schedule:
interval: monthly
commit-message:
prefix: "build"
prefix: "chore"
prefix-development: "build"
include: "scope"
versioning-strategy: lockfile-only
include: scope
allow:
- dependency-type: "all"
{%- if cookiecutter.project_type == "app" %}
- dependency-type: production
{%- endif %}
- dependency-type: development
versioning-strategy: increase
groups:
{%- if cookiecutter.project_type == "app" %}
runtime-dependencies:
dependency-type: production
{%- endif %}
development-dependencies:
dependency-type: development
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "{{ cookiecutter.python_version }}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
run: devcontainer exec --workspace-folder . poe test

- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: reports/coverage.xml