Skip to content
Draft
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
28 changes: 28 additions & 0 deletions .github/workflows/release-signing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# SPDX-FileCopyrightText: 2026 Contributors to the OpenSTEF project <openstef@lfenergy.org>
# SPDX-License-Identifier: MPL-2.0

name: Sign Release Artifacts

on:
release:
types: [published]

permissions: {}

jobs:
sign-release:
name: Sign release artifacts with Sigstore
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/v4.') }}

permissions:
# Needed to mint an OIDC token for Sigstore
id-token: write
# Needed to upload signing artifacts to the GitHub Release
contents: write

steps:
- name: Sign all release artifacts
uses: sigstore/gh-action-sigstore-python@v3.2.0
with:
release-signing-artifacts: true
7 changes: 6 additions & 1 deletion .github/workflows/release-v4.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2025 Contributors to the OpenSTEF project <openstef@lfenergy.org>
# SPDX-FileCopyrightText: 2026 Contributors to the OpenSTEF project <openstef@lfenergy.org>
# SPDX-License-Identifier: MPL-2.0

name: Release V4
Expand Down Expand Up @@ -79,5 +79,10 @@ jobs:
run: poe build
- name: Publish packages
run: uv publish --trusted-publishing always
- name: Upload release assets
if: github.event_name == 'release'
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be updated

with:
files: dist/*
- name: Summary
run: echo "Published version ${{ steps.ver.outputs.version }}"
Loading