Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(store): drop the write token from the Store job, and stop calling a dispatch a dry run
Etienne Lescotb49c7ce110d1
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex c15d7782e..01b031fd5 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -957,6 +957,12 @@ jobs:publish-msstore:name: Publish to Microsoft Storeruns-on: windows-latest+ # The workflow-wide token is `contents: write` because publish-release needs+ # it. This job only reads: it checks the tree out so the CLI can identify the+ # project, downloads a same-run artifact (which uses the runtime token, not+ # this one), and talks to Partner Center with its own Entra credentials.+ permissions:+ contents: readneeds:- build-windows-store- publish-release@@ -1008,6 +1014,14 @@ jobs:- name: Check out the projectif: steps.store.outputs.enabled == 'true'uses: actions/checkout@v7+ with:+ # Nothing here pushes; the tree is only read so the CLI can see it is+ # an Electron project. Left at the default, checkout writes the+ # workflow's `contents: write` token into .git/config, where every+ # later step can read it — including a third-party CLI action and the+ # Store submission. See the job-level `permissions` above: same reason,+ # other half.+ persist-credentials: false- name: Download Store packageif: steps.store.outputs.enabled == 'true'diff --git a/technical-documentation/engineering/release-and-secrets.md b/technical-documentation/engineering/release-and-secrets.mdindex 83bdf8102..6cdfb8a34 100644--- a/technical-documentation/engineering/release-and-secrets.md+++ b/technical-documentation/engineering/release-and-secrets.md@@ -173,7 +173,9 @@ Two constraints from Microsoft's documentation: automated updates through GitHubThat failure was visible only because the same release carried the fix that reports the submission's real outcome instead of the configuration's. The prior version wrote "Submitted to the Store" whenever credentials resolved, under `always()` — so this exact failure would have shipped as a green success.-**Still unverified, and the next thing likely to break:** `--inputFile` is documented for `.msix` and `.msixupload`, and `build:win:store` produces an `.appx` (`electron-builder --win appx`). Whether the CLI accepts that extension is untested — the only way to find out is a stable release or a `workflow_dispatch` of `build.yml` with a stable `release_tag`. Until one of those goes green, assume the Store still needs the manual upload below.+**Still unverified, and the next thing likely to break:** `--inputFile` is documented for `.msix` and `.msixupload`, and `build:win:store` produces an `.appx` (`electron-builder --win appx`). Whether the CLI accepts that extension is untested.++**There is no dry run, so do not reach for one.** The job is gated to stable tags, so the only ways to exercise it are a real release or a `workflow_dispatch` of `build.yml` with a stable `release_tag` — and neither is a rehearsal. `msstore publish` commits the submission unless it is given `-nc, --noCommit`, which this job does not pass, so a dispatch fired "just to see whether the `.appx` is accepted" creates a submission that enters certification and reaches users. Adding `--noCommit` behind a dispatch input is what a real validation path would need; until someone builds that, assume the Store needs the manual upload below, and treat the next stable release as the test.Rotate by issuing a new client secret on the Entra registration, updating `AZURE_AD_APPLICATION_SECRET`, publishing one release to confirm, then deleting the old secret. The tenant, client and seller IDs change only when the registration or account does.