Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
ci: give every job the scope it needs instead of the write default
Tw9313bcd6429f8f
diff --git a/.github/workflows/pake-cli.yaml b/.github/workflows/pake-cli.yamlindex 98bc7a2e..0af40f90 100644--- a/.github/workflows/pake-cli.yaml+++ b/.github/workflows/pake-cli.yaml@@ -68,6 +68,10 @@ on:required: falsedefault: "deb"+# Builds an app on demand for anyone who runs it; it writes nothing.+permissions:+ contents: read+jobs:build:name: ${{ inputs.platform }}diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 1ff92f42..bb4cb8b9 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -30,6 +30,8 @@ concurrency:jobs:# Build and release popular appsrelease-apps:+ permissions:+ contents: readif: |(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) ||(github.event_name == 'workflow_dispatch' && inputs.release_apps)@@ -61,6 +63,8 @@ jobs:skipIfReleaseExists: truebuild-cli:+ permissions:+ contents: readname: Build CLIneeds: release-appsif: needs.release-apps.result == 'success'@@ -85,6 +89,8 @@ jobs:retention-days: 1build-popular-apps:+ permissions:+ contents: writename: ${{ matrix.config.title }}needs: [release-apps, build-cli, create-release]if: |diff --git a/.github/workflows/single-app.yaml b/.github/workflows/single-app.yamlindex 5c6f2018..b110c44c 100644--- a/.github/workflows/single-app.yaml+++ b/.github/workflows/single-app.yaml@@ -102,6 +102,11 @@ on:PAKE_NOTARIZE_PASSWORD:required: false+# Called by release.yml. Its build job creates releases with ncipollo,+# so contents: write is the scope it genuinely needs, not the repo default.+permissions:+ contents: write+jobs:build:name: ${{ inputs.title }} (${{ matrix.build }})