Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

ci: declare the package-win workflow's read-only permissions

DeryFerd652dac62071a
diff --git a/.github/workflows/package-win.yml b/.github/workflows/package-win.yml
index e24f70dd01..9a04d8f900 100644
--- a/.github/workflows/package-win.yml
+++ b/.github/workflows/package-win.yml
@@ -20,6 +20,10 @@ on:
required: false
type: string
+# least privilege: the build only reads the checkout, it never writes back
+permissions:
+ contents: read
+
jobs:
package:
name: NSIS installer