Skip to content

Commit

Permalink
chore: apply updates from template with cruft update
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-fs committed Jul 8, 2024
1 parent 84176da commit 4cb8f17
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/bruno-fs/cookiecutter-hypermodern-python",
"commit": "a516f7058ca67b612d08a933885c2bfa85d1f9e2",
"commit": "c6eb54be973f72077cc15aadf5eb43a9ebd7978c",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
16 changes: 8 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@ updates:
schedule:
interval: weekly
groups:
version-updates:
github-actions-updates:
applies-to: version-updates
dependency-type: development
security-updates:
github-actions-security-updates:
applies-to: security-updates
dependency-type: development
- package-ecosystem: pip
directory: "/.github/workflows"
schedule:
interval: weekly
groups:
version-updates:
workflow-updates:
applies-to: version-updates
dependency-type: development
security-updates:
workflow-security-updates:
applies-to: security-updates
dependency-type: development
- package-ecosystem: pip
directory: "/docs"
schedule:
interval: weekly
groups:
version-updates:
doc-updates:
applies-to: version-updates
dependency-type: development
security-updates:
doc-security-updates:
applies-to: security-updates
dependency-type: production
- package-ecosystem: pip
Expand All @@ -41,9 +41,9 @@ updates:
allow:
- dependency-type: "all"
groups:
version-updates:
pip-version-updates:
applies-to: version-updates
dependency-type: development
security-updates:
pip-security-updates:
applies-to: security-updates
dependency-type: production
4 changes: 2 additions & 2 deletions .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip==24.0
pip==24.1.2
nox==2024.4.15
nox-poetry==1.0.3
poetry==1.8.3
virtualenv==20.26.2
virtualenv==20.26.3
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Detect and tag new version
id: check-version
if: steps.check-parent-commit.outputs.sha
uses: salsify/[email protected].1
uses: salsify/[email protected].3
with:
version-command: |
bash -o pipefail -c "poetry version | awk '{ print \$2 }'"
Expand All @@ -57,21 +57,21 @@ jobs:
- name: Publish package on PyPI
if: steps.check-version.outputs.tag
uses: pypa/gh-action-pypi-publish@v1.8.6
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

- name: Publish package on TestPyPI
if: "! steps.check-version.outputs.tag"
uses: pypa/gh-action-pypi-publish@v1.8.6
uses: pypa/gh-action-pypi-publish@v1.9.0
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/

- name: Publish the release notes
uses: release-drafter/release-drafter@v5.23.0
uses: release-drafter/release-drafter@v6.0.0
with:
publish: ${{ steps.check-version.outputs.tag != '' }}
tag: ${{ steps.check-version.outputs.tag }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
tests:
Expand Down Expand Up @@ -226,4 +227,4 @@ jobs:
nox --session=coverage -- xml
- name: Upload coverage report
uses: codecov/codecov-action@v3.1.4
uses: codecov/codecov-action@v4.5.0
4 changes: 4 additions & 0 deletions .safety-policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
security:
ignore-vulnerabilities:
"70612":
reason: Not a bug. This is the same as marking python as unsafe due to the existence of 'eval'. See https://bugzilla.redhat.com/show_bug.cgi?id=1677653

0 comments on commit 4cb8f17

Please sign in to comment.