Repository navigation
Feature: Refactor Release pipeline to allow immutable releases - #4205
Conversation
* run av-whitelist after publish * notify winget * remove gpg signature creation
* change event type to desktop-release * add client payload
instead of awk
for computing sha sum
# Conflicts: # .github/workflows/appimage.yml # .github/workflows/mac-dmg-x64.yml # .github/workflows/mac-dmg.yml # .github/workflows/win-exe.yml
for windows artifacts in release
WalkthroughAdds 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 Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
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
📒 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
There was a problem hiding this comment.
♻️ Duplicate comments (1)
.github/workflows/release.yml (1)
31-32:⚠️ Potential issue | 🟠 MajorReplace 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 -vplus 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
25here 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
📒 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
to prevent confusion with github release.yml standard
There was a problem hiding this comment.
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
📒 Files selected for processing (4)
.github/workflows/appimage.yml.github/workflows/aur-bin.yml.github/workflows/create-release.yml.github/workflows/linux-makepkg.yml
There was a problem hiding this comment.
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
📒 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
There was a problem hiding this comment.
Actionable comments posted: 4
♻️ Duplicate comments (2)
.github/workflows/draft-release.yml (2)
31-34:⚠️ Potential issue | 🟠 MajorActually 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 asgit verify-tag/git tag -vwith 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 | 🟡 MinorUpdate the draft banner to the renamed workflow page.
The template referenced by
body_pathstill sends maintainers toactions/workflows/create-release.yml, but this workflow is nowdraft-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
📒 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
* unify inputs handling for worklfow dispatch and call * simplify conditions for signing/release steps
5af9603 to
b6133e4
Compare
There was a problem hiding this comment.
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 | 🟠 MajorExplicitly specify the release tag in the publish step.
The workflow receives version inputs (
semVerNum,semVerSuffix) but the release action still lacks an explicittag_name. While this works when called fromdraft-release.yml(which providesgithub.ref_namevia 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_nameas 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 | 🟠 MajorPass 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_namecontext inherited fromdraft-release.yml, but this is not guaranteed in all scenarios. Add an explicittag_nameparameter to the action so the target release is unambiguous and doesn't depend on ambient context. Consider also passing version information fromdraft-release.ymltowin-exe.ymland 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
📒 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
There was a problem hiding this comment.
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
📒 Files selected for processing (1)
.github/workflows/win-exe.yml
adhere to new workflow_call api
There was a problem hiding this comment.
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
📒 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
# Conflicts: # .github/workflows/appimage.yml # .github/workflows/mac-dmg-x64.yml # .github/workflows/mac-dmg.yml # .github/workflows/win-exe.yml
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.github/workflows/appimage.yml (1)
240-240: Consider aligningactions/download-artifactversion with other workflows.This workflow uses
actions/[email protected]whilewin-exe.ymlusesv8.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
📒 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
There was a problem hiding this comment.
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
📒 Files selected for processing (4)
.github/workflows/RELEASE.md.github/workflows/draft-release.yml.github/workflows/post-publish.ymlCHANGELOG.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
Signed-off-by: Armin Schrenk <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (1)
.github/workflows/RELEASE.md (1)
167-167:⚠️ Potential issue | 🟡 MinorIncorrect reference and missing space.
Two issues in the
check-releasejob description:
- References
get-version.yml(a non-existent workflow file) instead of theget-versionjob documented at line 125.- 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
📒 Files selected for processing (1)
.github/workflows/RELEASE.md
Signed-off-by: Armin Schrenk <[email protected]>
There was a problem hiding this comment.
♻️ Duplicate comments (1)
.github/workflows/RELEASE.md (1)
167-167:⚠️ Potential issue | 🟡 MinorFix the
check-releasecomparison reference and typo.Line 167 references
get-version.ymland concatenatesworkflowwithout a space; this is misleading. It should reference theget-versionjob 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
📒 Files selected for processing (1)
.github/workflows/RELEASE.md
Signed-off-by: Armin Schrenk <[email protected]>
There was a problem hiding this comment.
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
📒 Files selected for processing (1)
.github/workflows/RELEASE.md
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 arelease/*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.ymlworkflow runs. It triggers repository hooks to update the docs, the website, whitelists windows release artifacts andupdates the latest-version.json(postponed).DEB/Launchpad, Flatpak, AUR and AUR-bin are triggered by the
release publishedevent too, but they still reside in their own workflow file.Other changes: