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(ci): drop git remote set-url workaround now that github-actions[bot] is a bypass actor
EtienneLescot1c5b9df661e3
diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.ymlindex 5599f20a2..5c91f28ed 100644--- a/.github/workflows/prerelease.yml+++ b/.github/workflows/prerelease.yml@@ -90,10 +90,6 @@ jobs:set -euo pipefailgit config user.name "github-actions[bot]"git config user.email "41898282+github-actions[bot]@users.noreply.github.com"- # Push via the PAT so the repo ruleset bypass (set for EtienneLescot) applies.- # actions/checkout@v4 defaults to GITHUB_TOKEN which uses github-actions[bot],- # a different actor that is NOT in the bypass list.- git remote set-url origin "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"git add package.jsongit commit -m "chore(release): bump to ${{ steps.version.outputs.prerelease }} [skip ci]"git pushdiff --git a/.github/workflows/promote.yml b/.github/workflows/promote.ymlindex 0dc19558d..8e2d90028 100644--- a/.github/workflows/promote.yml+++ b/.github/workflows/promote.yml@@ -74,10 +74,6 @@ jobs:set -euo pipefailgit config user.name "github-actions[bot]"git config user.email "41898282+github-actions[bot]@users.noreply.github.com"- # Push via the PAT so the repo ruleset bypass (set for EtienneLescot) applies.- # actions/checkout@v4 defaults to GITHUB_TOKEN which uses github-actions[bot],- # a different actor that is NOT in the bypass list.- git remote set-url origin "https://x-access-token:${TOKEN}@github.com/${GITHUB_REPOSITORY}.git"git add package.jsongit commit -m "chore(release): bump to ${{ steps.version.outputs.stable_version }} [skip ci]"git pushdiff --git a/docs/secrets.md b/docs/secrets.mdindex 6c7e8e532..9b6cf6ad9 100644--- a/docs/secrets.md+++ b/docs/secrets.md@@ -46,6 +46,24 @@ Old token and new token both work in parallel until the old one expires or is reThere's no need to coordinate a rotation window — the release pipeline runs at most a few times per month.+## Required repo ruleset bypass++The `main` branch is protected by the repository ruleset `main-protection` (id `18060803` on this repo), which requires changes to be made through a pull request. The release pipeline (`prerelease.yml` and `promote.yml`) commits `package.json` directly to `main` because the version bump has to land before the tag is pushed and the build runs.++To allow that direct push, the ruleset has two bypass actors:++- **`EtienneLescot`** (id `215859519`) — so manual pushes from the maintainer's local checkout work.+- **`github-actions[bot]`** (id `41898282`) — so the workflow's `GITHUB_TOKEN` push (the default `actions/checkout@v4` auth) is also accepted.++> **Why not just use the PAT?** Fine-grained PATs are deliberately excluded from ruleset bypasses by GitHub as a security measure (a leaked PAT must not bypass repo rules). Pushing with the PAT would still be rejected with `GH013`. Adding the bot user to the bypass list is the canonical fix.++If the bypass actors are ever reset (e.g. after a ruleset recreation), re-add them via:++```bash+gh api /repos/getopenscreen/openscreen/rulesets/18060803 --jq '.bypass_actors'+# Confirm both 215859519 and 41898282 are present with bypass_mode "always".+```+## Required for Discord announcements### `DISCORD_BOT_TOKEN`