Repository navigation
GitHub Actions
Copilot edited this page Nov 23, 2026
·
1 revision
This page describes every workflow in .github/workflows/. Maintainer procedures are in Releasing, and the local Desktop builds command is in Cross-Platform Builds.
| Workflow (file) | Name in Actions | Runs on | Purpose |
|---|---|---|---|
quality-checks.yml |
Release quality checks | PRs to main; pushes to main, development, documentation
|
Actionlint and shell and repository quality checks |
frontend-tests.yml |
Frontend tests | PRs to main; pushes to main, development
|
UI and i18n tests, integration tests, Playwright browser tests |
rust-tests.yml |
Rust tests | PRs to main; pushes to main, development
|
Rust checks, clippy, and tests |
security-audit.yml |
Security audit | PRs to main; pushes to main, development; weekly; manual |
Dependency audits |
macos-updater-bundle-smoke.yml |
macOS updater bundle smoke | Pull requests; manual | Builds unsigned updater-enabled macOS bundles |
release-pr-macos-updater-gate.yml |
Release PR macOS updater bundle gate | PRs to main (pull_request_target) |
Required gate for release PRs |
release-preparation.yml |
Release preparation | Manual | Opens the release PR |
windows-release-workspace.yml |
Windows release workspace | PRs to main touching release files; manual |
Verifies the normalized Windows workspace |
signed-release.yml |
Signed updater release |
v* tags |
Builds signed packages and creates the draft release |
updater-build.yml |
Build signed updater packages | Reusable | Six-target signed updater builds |
desktop-builds.yml |
Desktop builds | Manual | Six-target unsigned installers for a pinned commit |
store-msix.yml |
Store MSIX packages | Reusable | Builds x64 and ARM64 Store packages and the bundle |
store-submission.yml |
Store submission packages | After a signed release run | Verifies published assets and submits to Partner Center |
store-metadata.yml |
Store metadata | Manual; after Store submission packages | Syncs the Partner Center listing |
store-base-metadata.yml |
Store base metadata | Manual; from Store metadata | Refreshes store-assets/base-metadata.json
|
pages.yml |
GitHub Pages | Pushes to main changing docs/; manual |
Publishes docs/ to GitHub Pages |
Reusable workflows are called by other workflows and are not started directly. Actions names listed above are the names of the checks in the UI.
- Triggers: pull requests to
main, pushes tomain,development, anddocumentation, andworkflow_call. - Jobs:
actionlintrunsraven-actions/actionlint;qualityrunspnpm lint:shelland the repository quality gates. - Required checks:
actionlintandqualityare required by the Branch default ruleset.
- Triggers: pull requests to
main, pushes tomainanddevelopment, andworkflow_call. - Jobs: UI and i18n runs the UI and i18n tests, installs PowerShell, then runs
pnpm test:integration. Playwright browser tests runs the browser tests. - Required checks:
UI and i18nandPlaywright browser tests(see the ruleset in Releasing).
- Triggers: pull requests to
main, pushes tomainanddevelopment, andworkflow_call. - Jobs: Rust checks and tests runs the Rust checks and the workspace tests, including the updater suite.
- Required checks:
Rust checks and testsis required by the Branch default ruleset.
- Triggers: pull requests to
main, pushes tomainanddevelopment, a weekly schedule (Monday 05:17 UTC),workflow_dispatch, andworkflow_call. - Jobs:
dependenciesruns the Rust and pnpm audits with pinned tools from crates.io. - Required checks:
dependenciesis required by the Branch default ruleset.
- Trigger:
workflow_dispatchwith an optionalversion(YYYY.M.MICRO). Leave it empty to choose the next version. - Job:
prepare-releaseupdates the version metadata, generates release notes, and opens therelease/<version>pull request. - Token: the job uses a GitHub App token, not
GITHUB_TOKEN, so the pull request triggers the gate below. It needsRELEASE_APP_CLIENT_IDandRELEASE_APP_PRIVATE_KEY. - The job stops before it opens a pull request if the remote release ref already exists.
- Trigger:
pull_request_targettomainforopened,synchronize,reopened, andedited. - Job: Release PR macOS updater bundle smoke is the only macOS-related required check.
- Behavior: for pull requests from
release/*, it waits up to 120 minutes for the matching smoke run. The run must have the same pull request number, head SHA, and base SHA. BothBuild x86_64-apple-darwinandBuild aarch64-apple-darwinmust pass. - Trusted inputs: the gate fails any release PR that changes trusted build inputs. These include
src-tauri/sources and manifests, lockfiles,src/,static/,locales/, capability, icon, and resource files, the scripts the smoke run executes, and the smoke workflow. The exact list is in the workflow's code. Inpackage.json,src-tauri/tauri.conf.json, andsrc-tauri/Cargo.lock, only the version fields that release preparation sets may change. - Safety: the workflow never checks out or runs pull request code. Keep it that way when you edit it.
- Triggers: pull requests (
opened,synchronize,reopened,edited) andworkflow_dispatch. - Jobs:
Build x86_64-apple-darwinandBuild aarch64-apple-darwin, one per native runner. - Behavior: builds an unsigned updater-enabled
.app.tar.gzand checks that the archive exists. It uses no production signing secrets, so a passing run does not prove the production signature. Signed-release acceptance needs a native signed run.
- Triggers: pull requests to
mainthat change the signed release, store, or release-preparation workflows and scripts, andworkflow_dispatchwith an optionalrequest_id. - Jobs:
Prepare release workspace (x64)and(ARM64)run on native Windows runners. - Behavior: prepares and verifies the normalized workspace used by signed releases. It uses no signing secrets and builds no packages. Both jobs must pass before you tag.
- Trigger: a push of a
v*tag. - Jobs, in order:
-
validate, then the reusableverify-frontend,verify-rust,verify-security, andverify-qualitychecks. -
approve-builds(Approve release builds), protected by thereleaseenvironment. -
build(Build signed updater packages) andstore-msix(Build Store MSIX packages) run after approval. -
stage(Stage signed updater and Store release) checks the bundle SHA-256 file and its provenance, generateslatest.json, and creates the draft release. -
approve(Approve accepted draft release), protected by thereleaseenvironment. -
publish(Publish accepted draft release) publishes the draft.
-
- The
releaseenvironment approval releases both the updater build and the Store MSIX build. Nothing is published beforeapprove. - Secrets:
TAURI_SIGNING_PRIVATE_KEY, plusTAURI_SIGNING_PRIVATE_KEY_PASSWORDif the key is encrypted. - Updater targets: only the Linux AppImage is an updater target. The
.deband.rpmpackages are built withfeatures: []and--no-sign.
- Trigger:
workflow_callfrom Signed updater release. - Jobs:
Build ${{ matrix.target }}runs six native targets, all in thereleaseenvironment. - Output: signed updater packages and
.sigfiles, uploaded as artifacts forstage.
- Trigger:
workflow_dispatch. Run it throughpnpm build:allfrom the dev container, or dispatch it in the Actions tab. - Inputs:
-
request_id(required): a unique request ID frompnpm build:all. -
expected_sha(required): the full commit SHA to build. -
windows_arm64_symbols(optional, off by default): also uploads a matching PDB for the Windows ARM64 diagnostic installer. -
previous_store_version(optional): the last published Store version. The build rejects a non-advancing version.
-
- Jobs:
Build ${{ matrix.target }}runs six isolated native jobs for Linux ARM64 and x64, macOS ARM64 and x64, and Windows ARM64 and x64.Build Store MSIX packagescalls the reusablestore-msix.yml. - Artifacts: NSIS and
.deb,.rpm, AppImage, and.dmgoutputs, plus one unsigned architecture-specific MSIX per Windows job. Artifacts expire after 14 days. - Verification: the local command verifies the request ID, commit, version, target, package completeness, and SHA-256 values. Partial, stale, wrong-target, or modified artifacts are rejected.
- The workflow never commits or pushes, and it does not publish releases or use the updater configuration. Builds are unsigned and unnotarized.
- Trigger:
workflow_callfrom Signed updater release and Desktop builds. - Jobs:
Build Store MSIX ${{ matrix.architecture }}builds the x64 and ARM64 packages on Windows runners, thenBuild Store MSIX bundlebuilds the.msixbundlewithscripts/package-store-msixbundle.ps1. It attaches a GitHub build provenance attestation to the bundle. - Packages use the reserved
JerneyNexus.Epikriseidentity and theyear.month.patch.0version. They are unsigned. Microsoft signs submitted Store packages. - The Store upload does not depend on the six-target NSIS build matrix.
- Trigger:
workflow_runwhen Signed updater release completes. - Environment:
store-partner-centerfor the submit job. Concurrency groupstore-partner-center-submissionallows one submission at a time. - Jobs:
- Verify Store packages on GitHub Release waits for the published release. It checks the SHA-256 files, provenance manifests, and the bundle attestation, and compares each published asset byte-for-byte with the verified workflow artifacts.
-
Submit Store bundle to Partner Center waits for approval in
store-partner-center. It then runs the version guard (scripts/check-store-version.mjs). The guard fails closed if it cannot read package versions frommsstore submission get. - The job uploads the bundle with
msstore publish --noCommit, commits it withmsstore submission publish, and polls withscripts/wait-store-submission.mjs(about once a minute, up to 300 minutes) until Partner Center reportsPublished.
- The job does not change the listing. The new draft keeps the last published listing.
- Secrets and variables: the
AZURE_AD_*,SELLER_ID, andAZURE_AD_CERTIFICATE_*secrets and theSTORE_PRODUCT_IDvariable are environment-scoped tostore-partner-center.STORE_PRODUCT_IDis also defined instore-partner-center-metadata. See Releasing. Some error messages still call it a repository variable (see issue #344).
- Triggers:
workflow_dispatchwith two inputs, andworkflow_runwhen Store submission packages completes. - Inputs:
-
commit: commits the submission and waits for certification. -
dry_run: uploads the merged submission, without upload URLs, as an artifact. It changes nothing in Partner Center.
-
- Environment:
store-partner-center-metadata. It waits for approval before any Partner Center write. - Job: Sync Store listing metadata copies text and images from
store-assets/base-metadata.jsoninto the submission, keeping its packages. It sends the submission withmsstore submission updateMetadata, which replaces the whole submission. It then reads the listings back and fails before any commit if a base text field differs. - Automatic runs never commit, so the draft stays for review in Partner Center.
- Failure cases: the run stops before changing anything if the submission is in certification or publishing, a base locale is missing, or a base image is not
Uploaded. Withcommit, it recovers an existingPendingCommitdraft whose listing already matches. It never republishes an unchangedPublishedsubmission. - A Refresh base metadata after commit job calls Store base metadata after a committed publish.
- Triggers:
workflow_dispatch, andworkflow_callfrom Store metadata. - Environment:
store-partner-center-metadata. - Jobs: Get Store base metadata fetches the current Partner Center submission, removes the
FileUploadUrlvalues, and uploads theepikrise-store-base-metadataartifact. Open base metadata pull request opens a pull request onchore/store-base-metadata. - Token: uses the release GitHub App token (
RELEASE_APP_CLIENT_ID,RELEASE_APP_PRIVATE_KEY), not Partner Center credentials. - Review the diff before merging. Merging a stale snapshot overwrites unmerged listing changes.
- Triggers: pushes to
mainthat changedocs/**or.github/workflows/pages.yml, andworkflow_dispatch. - Jobs:
buildrunsactions/jekyll-build-pagesondocs/and uploads the site.deploypublishes it to thegithub-pagesenvironment.
Epikrise wiki
Using Epikrise
Developing
Maintaining