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: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: release

# Release provenance via the bounded-systems mint capability. On a v<version> tag
# (cut by `mint release`), emits the deterministic in-toto release Statement
# (tag → version plan → commit), keyless-signs it (cosign/OIDC), and attaches it
# to the GitHub release. The registry publish stays in its existing workflow;
# this job owns VERSION + TAG provenance only. Pinned to an immutable mint commit
# SHA; bump when mint tags.
on:
push:
tags: ["v*"]

permissions:
contents: write # create / upload to the GitHub release
id-token: write # OIDC — cosign keyless signing

jobs:
release:
uses: bounded-systems/mint/.github/workflows/release-provenance.yml@v0.3.1 # mint
with:
ref: v0.3.1
6 changes: 3 additions & 3 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: version

# Versioning via the bounded-systems mint capability. Validates .release/ intents
# (fails closed on a malformed one) and previews the next version on every PR.
# Pinned to mint v0.2.0 (immutable commit SHA); bump when mint releases again.
# Pinned to an immutable mint commit SHA; bump when mint tags.
on:
push:
branches: [main]
Expand All @@ -13,6 +13,6 @@ permissions:

jobs:
version:
uses: bounded-systems/mint/.github/workflows/version.yml@440c191198bdb4c2eabb60b385e5c24cddb01e82 # v0.2.0
uses: bounded-systems/mint/.github/workflows/version.yml@v0.3.1 # mint
with:
ref: 440c191198bdb4c2eabb60b385e5c24cddb01e82
ref: v0.3.1