Skip to content

Feature: Refactor Release pipeline to allow immutable releases - #4205

Merged
infeo merged 47 commits into
developfrom
feature/immutable-releases
Apr 27, 2026
Merged

infeo merged 47 commits into
developfrom
feature/immutable-releases

Conversation

@infeo

@infeo infeo commented Apr 1, 2026 •

Copy link
Copy Markdown
Member

This PR refactors the CI release pipeline to allow enabling the GitHub feature immutable releases for this repository.

A release (draft) is created by the workflow release.yml. It is triggered by pushing a tag. The tag has to be on main or a release/* branch. The flow creates a release draft, builds the required release artifacts (appimage, dmg, msi and exe) and uploads the artifacts to the draft. Finally, the checksums of the uploaded artifacts are added to the draft body.

After publishing the release, the post-publish.yml workflow runs. It triggers repository hooks to update the docs, the website, whitelists windows release artifacts and updates the latest-version.json (postponed).

DEB/Launchpad, Flatpak, AUR and AUR-bin are triggered by the release published event too, but they still reside in their own workflow file.

Other changes:

  • only allow signed tags for release
  • move aur-bin PR creation to post-publish/own workflow
  • discard DEB release

@coderabbitai

coderabbitai Bot commented Apr 1, 2026 •

Copy link
Copy Markdown

Walkthrough

Adds a release-body template and a draft-release workflow that drafts releases on pushed signed tags, builds and GPG-signs source tarballs, and coordinates platform build jobs. Converts multiple platform release workflows (appimage, mac-dmg, mac-dmg-x64, mac-dmg, win-exe, post-publish) from release-event triggers to workflow_call interfaces requiring semVerNum/revisionNum/semVerSuffix, exposes workflow-level SHA256 outputs, and replaces embedded get-version jobs with env-derived VERSION_NUM/REVISION_NUM/VERSION_SUFFIX. Extracts AUR PR logic into a dedicated aur-bin.yml, updates notarization/signing gating to depend on inputs or schedule, switches some runners to ubuntu-slim, and applies minor Slack/env adjustments across auxiliary workflows.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Suggested labels

github_actions

Suggested reviewers

  • overheadhunter
  • SailReal
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: refactoring the release pipeline to support immutable releases, which is the primary objective of this changeset.
Description check ✅ Passed The description is directly related to the changeset, explaining the two-phase release pipeline, workflow triggers, artifact handling, and additional changes including signed tag requirements and AUR-bin workflow updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/immutable-releases

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/release-body.md.template:
- Line 15: Replace the hard-coded "develop" segment in the CHANGELOG URL with
the templating variable that will be rendered to the current release ref/tag
(instead of the literal "develop") so generated release bodies point to the
immutable tag; update the line containing the CHANGELOG URL (the one with
"CHANGELOG" and the string "develop") to use the template placeholder your
release generator provides (e.g., a variable like {{ release_tag }} or {{
github.ref_name }} depending on the template engine) so the final URL is
rendered to the current tag/ref at publish time.

In @.github/workflows/appimage.yml:
- Around line 51-53: The workflow currently uses the same output keys across
matrix legs which causes one leg to overwrite the other's value; update the
outputs so each architecture writes to a unique key (e.g. use x64-sha256sum and
aarch64-sha256sum) by changing the mapping from
steps.sha256sum.outputs.value-x86_64 and steps.sha256sum.outputs.value-aarch64
to distinct output names per arch, or alternatively move hash collection into a
non-matrix/final aggregation job that reads steps.sha256sum.outputs.* for each
architecture and sets unique outputs; ensure references in downstream steps use
the new unique keys instead of the shared key names.

In @.github/workflows/post-publish.yml:
- Around line 143-148: The workflow currently references the external action
aws-actions/configure-aws-credentials@v4; switch this floating major tag to the
repository’s full commit SHA to match the pinning strategy used elsewhere (e.g.,
peter-evans/repository-dispatch@28959ce8...), by looking up the exact commit SHA
for aws-actions/configure-aws-credentials that you want to lock to and replacing
the `@v4` suffix with @<full-commit-sha> in the Configure AWS credentials step
(aws-actions/configure-aws-credentials@...). Ensure the chosen commit SHA is
stable and update the workflow commit accordingly.

In @.github/workflows/release.yml:
- Around line 23-46: The create-release job must verify the Git tag signature
before invoking the "Draft a release" step; modify the job to fetch full git
history (set actions/checkout to fetch-depth: 0) and insert a pre-release step
that runs a tag verification command (e.g., git fetch --tags; git tag -v ${{
github.ref_name }} or gpg --verify on the tag) and fails the job if the tag is
unsigned or the signature is invalid; keep the existing "Draft a release" step
(softprops/action-gh-release) but only run it after the signature verification
succeeds.

In @.github/workflows/win-exe.yml:
- Around line 304-305: The build-exe job exports outputs referencing
steps.sha256sum.outputs.value but there is no step with id: sha256sum; locate
the build-exe job and either add an id: sha256sum to the step that computes the
SHA-256 (e.g., the step running sha256sum or checksum generation) or change the
outputs reference to the actual step id that produces the checksum; ensure the
step that generates the hash has the id sha256sum and emits an output named
value so outputs: sha256sum: ${{ steps.sha256sum.outputs.value }} resolves
correctly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ae9ff07f-ae81-4c44-babe-8eb51cb4d0a7

📥 Commits

Reviewing files that changed from the base of the PR and between 9de0981 and e341983.

📒 Files selected for processing (8)
  • .github/release-body.md.template
  • .github/workflows/appimage.yml
  • .github/workflows/build.yml
  • .github/workflows/mac-dmg-x64.yml
  • .github/workflows/mac-dmg.yml
  • .github/workflows/post-publish.yml
  • .github/workflows/release.yml
  • .github/workflows/win-exe.yml

Comment thread .github/release-body.md.template Resolved
Comment thread .github/workflows/appimage.yml Resolved
Comment thread .github/workflows/post-publish.yml Resolved
Comment thread .github/workflows/draft-release.yml Resolved
Comment thread .github/workflows/win-exe.yml Resolved
@infeo infeo self-assigned this Apr 1, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

♻️ Duplicate comments (1)
.github/workflows/release.yml (1)

31-32: ⚠️ Potential issue | 🟠 Major

Replace the marker grep with real tag verification.

This only checks for a marker string in the raw tag object; it doesn't validate the signature or signer, and a tag message can satisfy the grep. Gate the release with git verify-tag / git tag -v plus the trust material for your signing format.

🔐 Minimal fix
-      - name: Check the git tag is signed
-        run: git cat-file -p "${GITHUB_REF_NAME}" | grep "BEGIN SSH SIGNATURE"
+      - name: Verify the git tag signature
+        run: git verify-tag "${GITHUB_REF_NAME}"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/release.yml around lines 31 - 32, Replace the unsafe grep
step named "Check the git tag is signed" with a real tag verification command:
use git verify-tag (or git tag -v) against "${GITHUB_REF_NAME}" and ensure the
workflow provides the appropriate trust material (import the GPG public key or
SSH certificate into the runner's keyring/trust store and/or configure
GIT_CONFIG to trust it) so the verification actually validates the signature and
signer rather than just searching the tag object for a marker.
🧹 Nitpick comments (1)
.github/workflows/release.yml (1)

8-10: Align this job's JDK pin with the rest of the release pipeline.

Using 25 here lets the release gate drift independently from the fixed JDK builds used by the platform workflows. Reuse the same exact Temurin version string here as well.

♻️ Suggested change
 env:
   JAVA_DIST: 'temurin'
-  JAVA_VERSION: 25
+  JAVA_VERSION: '25.0.2+10.0.LTS'

Based on learnings, In the Cryptomator project, the exact JDK version is fixed in release workflows (e.g., .github/workflows/win-exe.yml, .github/workflows/mac-dmg.yml) to ensure reproducible builds.

Also applies to: 33-37

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/release.yml around lines 8 - 10, The job pins the JDK to a
generic numeric value (JAVA_DIST: 'temurin', JAVA_VERSION: 25) which can drift;
replace JAVA_VERSION with the exact Temurin version string used across the
release pipeline (the same value used by the platform release workflows) so the
job uses the identical JDK pin; keep JAVA_DIST as 'temurin' and update any other
occurrences of JAVA_VERSION in this workflow (the later env blocks around the
same file) to the same exact string to ensure consistency.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In @.github/workflows/release.yml:
- Around line 31-32: Replace the unsafe grep step named "Check the git tag is
signed" with a real tag verification command: use git verify-tag (or git tag -v)
against "${GITHUB_REF_NAME}" and ensure the workflow provides the appropriate
trust material (import the GPG public key or SSH certificate into the runner's
keyring/trust store and/or configure GIT_CONFIG to trust it) so the verification
actually validates the signature and signer rather than just searching the tag
object for a marker.

---

Nitpick comments:
In @.github/workflows/release.yml:
- Around line 8-10: The job pins the JDK to a generic numeric value (JAVA_DIST:
'temurin', JAVA_VERSION: 25) which can drift; replace JAVA_VERSION with the
exact Temurin version string used across the release pipeline (the same value
used by the platform release workflows) so the job uses the identical JDK pin;
keep JAVA_DIST as 'temurin' and update any other occurrences of JAVA_VERSION in
this workflow (the later env blocks around the same file) to the same exact
string to ensure consistency.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d234fb1d-df31-4dde-82ad-dcce04ab9201

📥 Commits

Reviewing files that changed from the base of the PR and between e341983 and 5d5b913.

📒 Files selected for processing (5)
  • .github/release-body.md.template
  • .github/workflows/appimage.yml
  • .github/workflows/post-publish.yml
  • .github/workflows/release.yml
  • .github/workflows/win-exe.yml
✅ Files skipped from review due to trivial changes (2)
  • .github/release-body.md.template
  • .github/workflows/post-publish.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/win-exe.yml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/create-release.yml:
- Around line 44-51: Update the banner link in the release body template so the
draft banner points to this workflow (create-release.yml) instead of the stale
actions/workflows/release.yml referenced in .github/release-body.md.template;
open the template (the file referenced by body_path) and replace the old
workflow URL/path with the correct create-release.yml link so maintainers
clicking the draft banner are taken to the current create-release workflow used
by the "Draft a release" step.
- Around line 8-10: The workflow pins only the major JDK via the env key
JAVA_VERSION which allows different patch builds; change the env variables in
create-release.yml to use the exact Temurin build string used by other release
workflows (replace JAVA_VERSION: 25 with JAVA_VERSION: '25.0.2+10.0.LTS' and
keep JAVA_DIST: 'temurin') so the release-gate uses the identical JDK build as
appimage.yml/mac-dmg.yml/mac-dmg-x64.yml.
- Around line 33-34: The step named "Check the git tag is on release or main
branch" has a broken shell command and flawed logic (uses local branches and tag
ref in detached HEAD); replace the existing command with one that checks
remote-tracking branches for the commit SHA (use GITHUB_SHA) and matches
origin/main or origin/release/* — e.g., call git branch --remote --contains
"${GITHUB_SHA}" and test the output for a regex that matches
^\s*origin/(main|release/.*)\s*$; update the step to exit non-zero if no match
so the guard blocks only when the SHA is not present on a remote main/release
branch.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 04a35073-3333-4c9b-90b7-e987bd5baa0d

📥 Commits

Reviewing files that changed from the base of the PR and between 5d5b913 and 96aa8fe.

📒 Files selected for processing (4)
  • .github/workflows/appimage.yml
  • .github/workflows/aur-bin.yml
  • .github/workflows/create-release.yml
  • .github/workflows/linux-makepkg.yml

Comment thread .github/workflows/create-release.yml Resolved
Comment thread .github/workflows/create-release.yml Resolved
Comment thread .github/workflows/draft-release.yml Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/mac-dmg.yml:
- Around line 6-15: The workflow_call inputs are missing version and notarize
which are referenced as inputs.version and inputs.notarize in the job
definitions; update the workflow_call block to add inputs.version (string, no
default) and inputs.notarize (boolean, default: false) so reusable callers can
supply them, and make the same addition to the mac-dmg-x64 workflow_call
definition to keep both workflows consistent with their usage.

In @.github/workflows/post-publish.yml:
- Around line 80-97: The notify-winget job currently can run before the
allowlisting jobs finish; update the notify-winget job's needs array (job name
notify-winget) to include the allowlisting jobs (e.g., allowlist-msi-x64 and
allowlist-exe-x64) so it waits for those to complete before sending the Slack
"ready" notification; ensure the needs list contains get-version,
get-asset-urls, allowlist-msi-x64, and allowlist-exe-x64 (or the actual
allowlist job names used in your workflow).

In @.github/workflows/win-exe.yml:
- Around line 6-18: Add an optional "version" input to the workflow_call inputs
so callers can explicitly pass a version (matching the existing internal use of
version at line ~53 and the workflow_dispatch interface). Update the
workflow_call block to include a version input with type: string and default: ""
(or leave no default but make it optional), ensuring the reusable workflow will
accept and use the passed version when resolving GITHUB_REF; keep existing
is-release and outputs unchanged so callers like create-release.yml can
deterministically supply a version.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 97e1e1d9-3e94-4539-a510-eab9c8aeed7f

📥 Commits

Reviewing files that changed from the base of the PR and between 235a23c and 54f805a.

📒 Files selected for processing (13)
  • .github/workflows/appimage.yml
  • .github/workflows/aur-bin.yml
  • .github/workflows/av-whitelist.yml
  • .github/workflows/build.yml
  • .github/workflows/check-jdk-updates.yml
  • .github/workflows/linux-flatpak.yml
  • .github/workflows/linux-makepkg.yml
  • .github/workflows/mac-dmg-x64.yml
  • .github/workflows/mac-dmg.yml
  • .github/workflows/no-response.yml
  • .github/workflows/post-publish.yml
  • .github/workflows/stale.yml
  • .github/workflows/win-exe.yml
💤 Files with no reviewable changes (1)
  • .github/workflows/build.yml
✅ Files skipped from review due to trivial changes (6)
  • .github/workflows/no-response.yml
  • .github/workflows/av-whitelist.yml
  • .github/workflows/check-jdk-updates.yml
  • .github/workflows/linux-makepkg.yml
  • .github/workflows/stale.yml
  • .github/workflows/aur-bin.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/linux-flatpak.yml

Comment thread .github/workflows/mac-dmg.yml Resolved
Comment thread .github/workflows/post-publish.yml Resolved
Comment thread .github/workflows/win-exe.yml Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 4

♻️ Duplicate comments (2)
.github/workflows/draft-release.yml (2)

31-34: ⚠️ Potential issue | 🟠 Major

Actually verify the tag signature, not just its presence.

git cat-file ... | grep "BEGIN SSH SIGNATURE" only proves that the tag object contains a signature block. It does not verify that the signature is valid or trusted, so an invalid SSH-signed tag can still enter the immutable-release path. Please switch this to a real verification step such as git verify-tag / git tag -v with the repo’s allowed signers configuration.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/draft-release.yml around lines 31 - 34, Replace the weak
presence-check step named "Check the git tag is signed" that greps for "BEGIN
SSH SIGNATURE" with a real signature verification using git's verification
commands (e.g., git verify-tag or git tag -v) against the tag referenced by
GITHUB_REF_NAME; call git verify-tag "${GITHUB_REF_NAME}" (or git tag -v
"${GITHUB_REF_NAME}") and fail the action if verification returns non-zero, and
ensure the verification step uses the repository’s allowed signers configuration
so only signatures from trusted signers are accepted.

44-51: ⚠️ Potential issue | 🟡 Minor

Update the draft banner to the renamed workflow page.

The template referenced by body_path still sends maintainers to actions/workflows/create-release.yml, but this workflow is now draft-release.yml (.github/release-body.md.template:1-8). The draft banner link will be stale.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/draft-release.yml around lines 44 - 51, Update the stale
banner link in the release body template so maintainers are pointed to the
renamed workflow: open .github/release-body.md.template and change any
references to actions/workflows/create-release.yml to
actions/workflows/draft-release.yml (the workflow invoked by body_path via the
Draft a release step using softprops/action-gh-release). Ensure the displayed
link text and any badge or path formatting are preserved while replacing the
target file name.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/appimage.yml:
- Around line 51-53: Define a single derived FULL_VERSION environment variable
instead of concatenating VERSION_NUM and VERSION_SUFFIX in multiple places;
compute FULL_VERSION by joining VERSION_NUM and REVISION_NUM and appending
"-${VERSION_SUFFIX}" only when VERSION_SUFFIX is non-empty (e.g.,
FULL_VERSION="${VERSION_NUM}-${REVISION_NUM}${VERSION_SUFFIX:+-${VERSION_SUFFIX}}"),
then replace all uses of the ad-hoc concatenations with FULL_VERSION
(references: VERSION_NUM, REVISION_NUM, VERSION_SUFFIX) so stable AppImages and
artifacts no longer get a trailing hyphen when semVerSuffix is empty.

In @.github/workflows/draft-release.yml:
- Around line 71-97: Summary: The reusable-workflow calls pass an invalid input
(is-release) and omit required version inputs. Update the four jobs
(build-exe-and-msi, build-dmg-arm64, build-dmg-x64, build-appimages) to pass
semVerNum, revisionNum, and semVerSuffix from the get-version job outputs and
replace is-release with the correct boolean inputs: for build-exe-and-msi set
sign: true and include semVerNum: ${{ jobs.get-version.outputs.semVerNum }},
revisionNum: ${{ jobs.get-version.outputs.revisionNum }}, semVerSuffix: ${{
jobs.get-version.outputs.semVerSuffix }}; for build-dmg-arm64 and build-dmg-x64
set notarize: true and include the same three semVer inputs; for build-appimages
remove is-release and include the three semVer inputs (no notarize/sign unless
the workflow exposes them). Use the exact job names and workflow filenames
(win-exe.yml, mac-dmg.yml, mac-dmg-x64.yml, appimage.yml) to locate where to
change the with: blocks.

In @.github/workflows/mac-dmg.yml:
- Around line 55-57: The current workflow always appends VERSION_SUFFIX causing
trailing hyphens when empty; update the file to compute a single FULL_VERSION
that combines VERSION_NUM and REVISION_NUM and only appends "-${VERSION_SUFFIX}"
if VERSION_SUFFIX is non-empty (use conditional logic or an expression to check
VERSION_SUFFIX), replace uses of the separate VERSION_* vars with FULL_VERSION
where versions:set / cryptomator.appVersion and artifact names are built, and
apply the identical change to .github/workflows/mac-dmg-x64.yml (also update the
other occurrences called out around lines 107, 157-167, and 269-289 to use
FULL_VERSION).

In @.github/workflows/win-exe.yml:
- Around line 57-59: The current workflow builds the version string by
concatenating VERSION_SUFFIX unconditionally causing stable releases to include
a trailing dash; change the logic that constructs the full version to
conditionally append '-${VERSION_SUFFIX}' only when VERSION_SUFFIX is non-empty
(use VERSION_NUM, REVISION_NUM and VERSION_SUFFIX variables), so stable releases
produce e.g. "1.2.3" while pre-releases produce "1.2.3-beta"; apply the same
conditional construction wherever the full-version is formed (the other
occurrences referenced) so artifact names and checksum/release-note patterns
match.

---

Duplicate comments:
In @.github/workflows/draft-release.yml:
- Around line 31-34: Replace the weak presence-check step named "Check the git
tag is signed" that greps for "BEGIN SSH SIGNATURE" with a real signature
verification using git's verification commands (e.g., git verify-tag or git tag
-v) against the tag referenced by GITHUB_REF_NAME; call git verify-tag
"${GITHUB_REF_NAME}" (or git tag -v "${GITHUB_REF_NAME}") and fail the action if
verification returns non-zero, and ensure the verification step uses the
repository’s allowed signers configuration so only signatures from trusted
signers are accepted.
- Around line 44-51: Update the stale banner link in the release body template
so maintainers are pointed to the renamed workflow: open
.github/release-body.md.template and change any references to
actions/workflows/create-release.yml to actions/workflows/draft-release.yml (the
workflow invoked by body_path via the Draft a release step using
softprops/action-gh-release). Ensure the displayed link text and any badge or
path formatting are preserved while replacing the target file name.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f73eb099-28ed-42e6-87a5-0aa30849ff18

📥 Commits

Reviewing files that changed from the base of the PR and between 54f805a and 5af9603.

📒 Files selected for processing (5)
  • .github/workflows/appimage.yml
  • .github/workflows/draft-release.yml
  • .github/workflows/mac-dmg-x64.yml
  • .github/workflows/mac-dmg.yml
  • .github/workflows/win-exe.yml

Comment thread .github/workflows/appimage.yml Resolved
Comment thread .github/workflows/draft-release.yml Resolved
Comment thread .github/workflows/mac-dmg.yml Resolved
Comment thread .github/workflows/win-exe.yml Resolved
* unify inputs handling for worklfow dispatch and call
* simplify conditions for signing/release steps
@infeo
infeo force-pushed the feature/immutable-releases branch from 5af9603 to b6133e4 Compare April 13, 2026 14:33

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
.github/workflows/mac-dmg.yml (1)

310-318: ⚠️ Potential issue | 🟠 Major

Explicitly specify the release tag in the publish step.

The workflow receives version inputs (semVerNum, semVerSuffix) but the release action still lacks an explicit tag_name. While this works when called from draft-release.yml (which provides github.ref_name via tag push), it creates an implicit dependency on caller context. For a reusable workflow, explicitly construct and pass the tag:

tag_name: v${{ inputs.semVerNum }}${{ inputs.semVerSuffix }}

or receive tag_name as an input parameter.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/mac-dmg.yml around lines 310 - 318, The release step using
softprops/action-gh-release currently omits an explicit tag_name, creating an
implicit dependency on caller context; update the step that uses
softprops/action-gh-release (the block with uses:
softprops/action-gh-release@153bb8e0...) to set tag_name explicitly by
constructing it from the workflow inputs (e.g., tag_name: v${{ inputs.semVerNum
}}${{ inputs.semVerSuffix }}) or accept a tag_name input and pass that through
so the action never relies on github.ref_name being provided by the caller.
.github/workflows/win-exe.yml (1)

450-468: ⚠️ Potential issue | 🟠 Major

Pass the release tag explicitly to softprops/action-gh-release in the publish step.

The publish job at lines 450-468 relies on implicit github.ref_name context inherited from draft-release.yml, but this is not guaranteed in all scenarios. Add an explicit tag_name parameter to the action so the target release is unambiguous and doesn't depend on ambient context. Consider also passing version information from draft-release.yml to win-exe.yml and using it to construct the tag name, since the workflow already defines inputs for this purpose.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/win-exe.yml around lines 450 - 468, The publish step (id:
publish) using softprops/action-gh-release currently relies on implicit
github.ref_name; modify that step to pass an explicit tag_name to the action
(e.g., tag_name: ${{ inputs.version }} or a variable passed from
draft-release.yml) so the target release is unambiguous; ensure the workflow
input that carries the version/tag is forwarded into win-exe.yml (or use a
provided output from draft-release.yml) and use that value for tag_name in the
softprops/action-gh-release invocation to guarantee the correct release is
targeted.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/win-exe.yml:
- Around line 411-414: The workflow step that runs Move-Item and wix burn
reattach is using PowerShell but the step lacks a PowerShell shell declaration;
update the step containing the commands "Move-Item -Path
installer/Cryptomator-Installer.exe -Destination tmp/Cryptomator-Installer.exe"
and "wix burn reattach tmp/Cryptomator-Installer.exe -engine tmp/engine.exe -o
installer/Cryptomator-Installer.exe" to include "shell: pwsh" so the PowerShell
cmdlet executes correctly on Windows runners.

---

Outside diff comments:
In @.github/workflows/mac-dmg.yml:
- Around line 310-318: The release step using softprops/action-gh-release
currently omits an explicit tag_name, creating an implicit dependency on caller
context; update the step that uses softprops/action-gh-release (the block with
uses: softprops/action-gh-release@153bb8e0...) to set tag_name explicitly by
constructing it from the workflow inputs (e.g., tag_name: v${{ inputs.semVerNum
}}${{ inputs.semVerSuffix }}) or accept a tag_name input and pass that through
so the action never relies on github.ref_name being provided by the caller.

In @.github/workflows/win-exe.yml:
- Around line 450-468: The publish step (id: publish) using
softprops/action-gh-release currently relies on implicit github.ref_name; modify
that step to pass an explicit tag_name to the action (e.g., tag_name: ${{
inputs.version }} or a variable passed from draft-release.yml) so the target
release is unambiguous; ensure the workflow input that carries the version/tag
is forwarded into win-exe.yml (or use a provided output from draft-release.yml)
and use that value for tag_name in the softprops/action-gh-release invocation to
guarantee the correct release is targeted.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4791ab55-2eb7-40c5-bd1f-819e5bf3535a

📥 Commits

Reviewing files that changed from the base of the PR and between 5af9603 and b6133e4.

📒 Files selected for processing (4)
  • .github/workflows/appimage.yml
  • .github/workflows/mac-dmg-x64.yml
  • .github/workflows/mac-dmg.yml
  • .github/workflows/win-exe.yml
✅ Files skipped from review due to trivial changes (1)
  • .github/workflows/appimage.yml

Comment thread .github/workflows/win-exe.yml Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/win-exe.yml:
- Around line 6-19: The draft-release.yml call must be updated to satisfy the
new workflow_call inputs: replace the old is-release input with explicit
semVerNum, revisionNum and semVerSuffix mappings using the outputs from the
existing get-version step (use semVerNum: ${{
needs.get-version.outputs.semVerNum }}, revisionNum: ${{
needs.get-version.outputs.revNum }}, and compute semVerSuffix from the
get-version/versionType logic you already use), and ensure the sign input is set
to true (or omitted to use the default true); update the invocation that targets
the workflow_call so its inputs match the new required names.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: cb32d281-4fd2-4398-9aed-0cb9577e1beb

📥 Commits

Reviewing files that changed from the base of the PR and between b6133e4 and d1fcf52.

📒 Files selected for processing (1)
  • .github/workflows/win-exe.yml

Comment thread .github/workflows/win-exe.yml Resolved
adhere to new workflow_call api

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/get-version.yml:
- Line 62: The sed expression assigning SEM_VER_SUFFIX from SEM_VER_STR uses the
non-POSIX token "+?"; update the substitution to use only POSIX ERE: anchor the
match at the start, match three numeric components separated by literal dots
using standard + quantifiers, then capture the rest with a plain (.*) and
replace with that capture; modify the line that sets SEM_VER_SUFFIX so it no
longer relies on "+?" and instead uses the anchored three-part version match and
a single capturing group to extract the suffix.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d96f7329-686b-42cf-a34b-3bda636f9fe4

📥 Commits

Reviewing files that changed from the base of the PR and between d1fcf52 and c745fca.

📒 Files selected for processing (2)
  • .github/workflows/draft-release.yml
  • .github/workflows/get-version.yml
✅ Files skipped from review due to trivial changes (1)
  • .github/workflows/draft-release.yml

Comment thread .github/workflows/get-version.yml Resolved
infeo added 2 commits April 14, 2026 11:40
# Conflicts:
#	.github/workflows/appimage.yml
#	.github/workflows/mac-dmg-x64.yml
#	.github/workflows/mac-dmg.yml
#	.github/workflows/win-exe.yml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
.github/workflows/appimage.yml (1)

240-240: Consider aligning actions/download-artifact version with other workflows.

This workflow uses actions/[email protected] while win-exe.yml uses v8.0.1. For consistency and to ensure you're on the latest patch version, consider updating to the same version used elsewhere.

🔧 Suggested version alignment
       - name: Download AppImage artifacts
-        uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
+        uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
         with:
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/appimage.yml at line 240, Update the
actions/download-artifact pin in the workflow so it matches the other workflow's
patched version: replace the current usage reference (uses:
actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3) with the
same v8.0.1 tag used in win-exe.yml to ensure consistent action versions across
workflows.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In @.github/workflows/appimage.yml:
- Line 240: Update the actions/download-artifact pin in the workflow so it
matches the other workflow's patched version: replace the current usage
reference (uses:
actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3) with the
same v8.0.1 tag used in win-exe.yml to ensure consistent action versions across
workflows.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 90a29225-c4f9-4c38-b1c9-eb5dbcaed551

📥 Commits

Reviewing files that changed from the base of the PR and between c745fca and 08009ca.

📒 Files selected for processing (5)
  • .github/workflows/appimage.yml
  • .github/workflows/get-version.yml
  • .github/workflows/mac-dmg-x64.yml
  • .github/workflows/mac-dmg.yml
  • .github/workflows/win-exe.yml
✅ Files skipped from review due to trivial changes (1)
  • .github/workflows/get-version.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/mac-dmg-x64.yml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/RELEASE.md:
- Line 167: Update the wording in the check-release job description to reference
the job name `get-version` (the job inside draft-release.yml) instead of the
non-existent file `get-version.yml`; specifically, in the `check-release`
description line that currently says "Unlike `get-version.yml`", change it to
"Unlike the `get-version` job" (or similar) so it correctly points to the
`get-version` job referenced elsewhere.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: aeb251f9-176d-4cf8-8867-b6c238add636

📥 Commits

Reviewing files that changed from the base of the PR and between 08009ca and da8493f.

📒 Files selected for processing (4)
  • .github/workflows/RELEASE.md
  • .github/workflows/draft-release.yml
  • .github/workflows/post-publish.yml
  • CHANGELOG.md
✅ Files skipped from review due to trivial changes (2)
  • CHANGELOG.md
  • .github/workflows/draft-release.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/post-publish.yml

Comment thread .github/workflows/RELEASE.md Resolved
Signed-off-by: Armin Schrenk <[email protected]>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (1)
.github/workflows/RELEASE.md (1)

167-167: ⚠️ Potential issue | 🟡 Minor

Incorrect reference and missing space.

Two issues in the check-release job description:

  1. References get-version.yml (a non-existent workflow file) instead of the get-version job documented at line 125.
  2. Missing space between the backtick and "workflow".
📝 Proposed correction
-| **check-release** | always | Classifies the published release tag as `stable`, `alpha`, `beta`, `rc`, or `unknown`. Stable-only follow-up jobs depend on this output. Unlike `get-version.yml`workflow, this job does not perform semver validation. |
+| **check-release** | always | Classifies the published release tag as `stable`, `alpha`, `beta`, `rc`, or `unknown`. Stable-only follow-up jobs depend on this output. Unlike the `get-version` job in the draft phase, this job does not perform semver validation. |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/RELEASE.md at line 167, The check-release job description
incorrectly references "get-version.yml" and lacks a space before the word
"workflow"; update the sentence to reference the get-version job (not a .yml
file) and insert the missing space so it reads something like "Unlike the
get-version job workflow, this job does not perform semver validation."
Specifically change the text mentioning get-version.yml to "get-version job" (or
"get-version job workflow") in the check-release description and add the missing
space between the backtick and the word "workflow".
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/RELEASE.md:
- Around line 28-32: The Mermaid diagram node named "create-release" and the
jobs table entry "create-release-draft" are inconsistent; pick one name and make
both places match (either rename the diagram node to "create-release-draft" or
change the table entry to "create-release") so the diagram and the table
reference the same job identifier ("create-release" vs "create-release-draft").

---

Duplicate comments:
In @.github/workflows/RELEASE.md:
- Line 167: The check-release job description incorrectly references
"get-version.yml" and lacks a space before the word "workflow"; update the
sentence to reference the get-version job (not a .yml file) and insert the
missing space so it reads something like "Unlike the get-version job workflow,
this job does not perform semver validation." Specifically change the text
mentioning get-version.yml to "get-version job" (or "get-version job workflow")
in the check-release description and add the missing space between the backtick
and the word "workflow".
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2e10295f-4ba0-4468-933e-90ddf8d20e8a

📥 Commits

Reviewing files that changed from the base of the PR and between da8493f and 1230e78.

📒 Files selected for processing (1)
  • .github/workflows/RELEASE.md

Comment thread .github/workflows/RELEASE.md Resolved
Signed-off-by: Armin Schrenk <[email protected]>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

♻️ Duplicate comments (1)
.github/workflows/RELEASE.md (1)

167-167: ⚠️ Potential issue | 🟡 Minor

Fix the check-release comparison reference and typo.

Line 167 references get-version.yml and concatenates workflow without a space; this is misleading. It should reference the get-version job from the draft phase.

📝 Proposed fix
-| **check-release** | always | Classifies the published release tag as `stable`, `alpha`, `beta`, `rc`, or `unknown`. Stable-only follow-up jobs depend on this output. Unlike `get-version.yml`workflow, this job does not perform semver validation. |
+| **check-release** | always | Classifies the published release tag as `stable`, `alpha`, `beta`, `rc`, or `unknown`. Stable-only follow-up jobs depend on this output. Unlike the `get-version` job in the draft phase, this job does not perform semver validation. |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/RELEASE.md at line 167, The README references the wrong
entity and has a typo: update the sentence for the check-release job to
reference the get-version job (from the draft phase) instead of
"get-version.ymlworkflow" and add the missing space; specifically change the
description for the check-release job to say it does not perform semver
validation like the get-version job (draft phase) and fix the concatenation/typo
so it reads "...Unlike the get-version job (draft phase), this job does not
perform semver validation." Ensure the terms "check-release" and "get-version
job (draft phase)" are used exactly to make the intent clear.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Duplicate comments:
In @.github/workflows/RELEASE.md:
- Line 167: The README references the wrong entity and has a typo: update the
sentence for the check-release job to reference the get-version job (from the
draft phase) instead of "get-version.ymlworkflow" and add the missing space;
specifically change the description for the check-release job to say it does not
perform semver validation like the get-version job (draft phase) and fix the
concatenation/typo so it reads "...Unlike the get-version job (draft phase),
this job does not perform semver validation." Ensure the terms "check-release"
and "get-version job (draft phase)" are used exactly to make the intent clear.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ad937e41-b707-47cf-8060-3944fba38ac5

📥 Commits

Reviewing files that changed from the base of the PR and between 1230e78 and 1e6bc1f.

📒 Files selected for processing (1)
  • .github/workflows/RELEASE.md

Signed-off-by: Armin Schrenk <[email protected]>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/RELEASE.md:
- Line 10: The Post-publish phase documentation still references DEB/Launchpad
builds and updating latest-version.json; update the description for the
Post-publish phase (`post-publish.yml`) to remove any mention of DEB
build/Launchpad and latest-version.json updates and instead state that
publishing only triggers Windows installer AV whitelisting and downstream
updates (website, docs, winget) as per the new release model; search for the
paragraph under "Post-publish phase" and any follow-up bullets referencing DEB
or latest-version.json and delete or replace them with the corrected workflow
summary.
- Line 119: Update the trigger wording that currently reads "Trigger: push of
any tag (`*`)" so it clearly separates the GitHub event that fires (push of any
tag) from the release eligibility rules (signed-tag and branch-gated checks).
Replace the single phrase with something like: "Trigger: push of any tag
(event). Releases are only created if the tag is a signed tag and the tag points
to an allowed branch as enforced by pipeline checks." Ensure the new wording
references both the event and the eligibility constraints (signed-tag +
branch-gated) so readers understand the distinction.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: dfce63b4-17fd-49fe-8482-5d93732abe9f

📥 Commits

Reviewing files that changed from the base of the PR and between 1e6bc1f and 1266926.

📒 Files selected for processing (1)
  • .github/workflows/RELEASE.md

Comment thread .github/workflows/RELEASE.md Resolved
Comment thread .github/workflows/RELEASE.md Resolved
@infeo
infeo merged commit ea86124 into develop Apr 27, 2026
2 checks passed
@infeo
infeo deleted the feature/immutable-releases branch June 25, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant