Skip to content

Replace winget-releaser with direct komac call - #4380

Merged
infeo merged 1 commit into
developfrom
fix/winget-komac
Nov 4, 2026
Merged

infeo merged 1 commit into
developfrom
fix/winget-komac

Conversation

@infeo

@infeo infeo commented Nov 3, 2026

Copy link
Copy Markdown
Member

Fixing failing workflow due to GitHub action pinning (see https://github.com/cryptomator/cryptomator/actions/runs/41043312396)

Also reduces transitive dependencies and switches to linux runner.

Note: Currently, there is no update mechanism.

@infeo infeo self-assigned this Nov 3, 2026
Copilot AI balanced review requested due to automatic review settings November 3, 2026 20:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the WinGet workflow’s switch to direct Komac commands.

No open issues 🎉

What changed in this PR

Replaces winget-releaser with direct Komac commands to address the action-pinning failure, reduce transitive dependencies, and run WinGet publishing on Linux.

Changes:

  • Downloads a pinned Komac release and verifies its SHA-256 checksum.
  • Submits package updates using the release tag and x64 MSI URL.
  • Adds cleanup of merged pull-request branches in the fork.
File Description
.github/​workflows/​winget.yml Switches to Ubuntu, installs Komac directly, and updates publishing and cleanup steps.

Review effort: Balanced

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

The workflow now runs on ubuntu-latest and installs Komac version 2.17.1 after verifying its archive against a pinned SHA-256 hash. It uses komac update to submit a Winget package update for Cryptomator.Cryptomator with the release tag and x64 MSI URL. It then runs komac cleanup --only-merged for the cryptomator fork.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

  • cryptomator/cryptomator#4378: Both PRs change the Winget workflow's use of external tooling; this PR replaces winget-releaser with Komac installed from a verified archive.
Merge Risk: Minimal · up to 62bfb

The workflow is mergeable; ordinary execution should confirm the configured token can submit the package.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title states the primary change: winget-releaser is replaced with a direct komac call. The raw summary confirms the workflow now runs komac update for Cryptomator.Cryptomator and drops winget-rele…
Description check Passed The description states the purpose of the change: it fixes a failing workflow caused by GitHub Action pinning. It also mentions reduced transitive dependencies, the switch to a Linux runner, and the l…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Title check

Explanation

The title states the primary change: winget-releaser is replaced with a direct komac call. The raw summary confirms the workflow now runs komac update for Cryptomator.Cryptomator and drops winget-releaser, so the title matches the changeset.

Full details: Description check

Explanation

The description states the purpose of the change: it fixes a failing workflow caused by GitHub Action pinning. It also mentions reduced transitive dependencies, the switch to a Linux runner, and the lack of an update mechanism. These points match the workflow changes in the summary.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e7ac3ef3-bd84-4a5c-9ef2-68500bf8b5c4
Commits

Reviewing files that changed from the base of the PR and between 3c2567a and 62bfb26.

Files selected for processing: 1
  • .github/workflows/winget.yml

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

@infeo infeo added this to the 1.20.0 milestone Nov 4, 2026
@infeo
infeo merged commit 7ab9597 into develop Nov 4, 2026
7 checks passed
@infeo
infeo deleted the fix/winget-komac branch November 4, 2026 13:30
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.

2 participants