Skip to content

Commit

Permalink
feature/template maintenance august 2024 (#64)
Browse files Browse the repository at this point in the history
# Changes
- update project requirements and github actions
- prevent duplicate github pipelines for test, cve and lint

---------

Signed-off-by: Nicolas Drebenstedt <[email protected]>
Co-authored-by: RKI | Metadata Exchange <[email protected]>
  • Loading branch information
cutoffthetop and RKIMetadataExchange authored Aug 13, 2024
1 parent 6c948ad commit 20d79c1
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cve-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: CVE Scan

on:
push:
branches: ["main"]
tags: ["**"]
pull_request:
types:
- opened
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovatebot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fetch-depth: 1

- name: Run renovatebot
uses: renovatebot/[email protected].4
uses: renovatebot/[email protected].5
env:
RENOVATE_GIT_PRIVATE_KEY: ${{ secrets.GPG_SIGNING_KEY }}
RENOVATE_REPOSITORIES: "robert-koch-institut/mex-template"
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changes

- use new --frozen-lockfile instead of deprecated --no-lock
- update ruff and mypy versions
- update project requirements, github actions and dependencies
- prevent duplicate github pipelines for test, cve and lint

### Deprecated

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: CVE Scan

on:
push:
branches: ["main"]
tags: ["**"]
pull_request:
types:
- opened
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Linting

on:
push:
branches: ["main"]
tags: ["**"]
pull_request:
types:
- opened
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
needs: release
steps:
- name: Build, tag and push docker image to ghcr
uses: GlueOps/[email protected].4
uses: GlueOps/[email protected].5
with:
{% raw %}tags: "${{ github.sha }},${{ needs.release.outputs.tag }},latest"{% endraw %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fetch-depth: 1

- name: Run renovatebot
uses: renovatebot/[email protected].4
uses: renovatebot/[email protected].5
env:
RENOVATE_GIT_PRIVATE_KEY: {% raw %}${{ secrets.GPG_SIGNING_KEY }}{% endraw %}
RENOVATE_REPOSITORIES: "robert-koch-institut/mex-{{ cookiecutter.project_name }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Testing

on:
push:
branches: ["main"]
tags: ["**"]
pull_request:
types:
- opened
Expand Down
2 changes: 1 addition & 1 deletion mex-{{ cookiecutter.project_name }}/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ cruft==2.15.0
mex-release @ git+https://github.com/robert-koch-institut/mex-release.git
pdm==2.17.3
pre-commit==3.8.0
wheel==0.43.0
wheel==0.44.0
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ cruft==2.15.0
mex-release @ git+https://github.com/robert-koch-institut/mex-release.git
pdm==2.17.3
pre-commit==3.8.0
wheel==0.43.0
wheel==0.44.0

0 comments on commit 20d79c1

Please sign in to comment.