NIFI-10601 Added write permissions to build workflow
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index aaad7cf..44c683e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,6 +9,9 @@
 env:
   PUBLISH_DIRECTORY: public
 
+permissions:
+  contents: write
+
 jobs:
   build:
     runs-on: ubuntu-latest