Skip to content
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
21 changes: 15 additions & 6 deletions .github/workflows/release-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:

- name: Extract and validate version
id: version
env:
GH_REF_NAME: ${{ github.ref_name }}
run: |
TAG="${{ github.ref_name }}" # e.g. core-v0.1.0
TAG="${GH_REF_NAME}" # e.g. core-v0.1.0
TAG_VERSION="${TAG#core-v}" # strip prefix → 0.1.0

TOML_VERSION=$(grep '^version = ' pyproject.toml | head -1 | cut -d'"' -f2)
Expand Down Expand Up @@ -128,19 +130,26 @@ jobs:

steps:
- name: Dispatch core-released event to private repo
env:
DISPATCH_TOKEN: ${{ secrets.DOWNSTREAM_DISPATCH_TOKEN }}
CORE_VERSION: ${{ needs.validate.outputs.version }}
GH_REF_NAME: ${{ github.ref_name }}
GH_SHA: ${{ github.sha }}
GH_REPOSITORY: ${{ github.repository }}
GH_RUN_ID: ${{ github.run_id }}
run: |
curl -fsSL \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.DOWNSTREAM_DISPATCH_TOKEN }}" \
-H "Authorization: Bearer ${DISPATCH_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/longieirl/bankstatements/dispatches \
-d "{
\"event_type\": \"core-released\",
\"client_payload\": {
\"core_version\": \"${{ needs.validate.outputs.version }}\",
\"ref\": \"${{ github.ref_name }}\",
\"sha\": \"${{ github.sha }}\",
\"run_url\": \"https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}\"
\"core_version\": \"${CORE_VERSION}\",
\"ref\": \"${GH_REF_NAME}\",
\"sha\": \"${GH_SHA}\",
\"run_url\": \"https://github.com/${GH_REPOSITORY}/actions/runs/${GH_RUN_ID}\"
}
}"
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [0.1.4] — 2026-05-01

### Security
- **CVE-2026-31789** (`#159`, PRs #163 #165 #166) — Added `apt-get upgrade` to the production Docker stage so every build pulls the latest patched Debian packages. Resolved 3 critical OpenSSL findings (`libssl3t64`, `openssl`, `openssl-provider-legacy`). Trivy scan on `:latest` confirms 0 critical vulnerabilities.

### Fixed
- **Release workflow** (PR #166) — `release.yml` was reading pre-monorepo paths (`src/__version__.py`, `pyproject.toml`). Updated to `packages/parser-core/src/bankstatements_core/__version__.py` and `packages/parser-core/pyproject.toml`. Also tightened version grep to `^version =` to avoid false match on ruff `target-version`.

---

## [0.1.3] — 2026-04-10

### Added
Expand Down