Browse Source

fix: security issues with esoctl release action take 2 (#4326)

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Gergely Brautigam 1 year ago
parent
commit
30f2f170c5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .github/workflows/release_esoctl.yml

+ 5 - 0
.github/workflows/release_esoctl.yml

@@ -12,6 +12,11 @@ on:
         required: true
         default: 'main'
 
+# this is required for security check even though we immediately set it to
+# write in the release job.
+permissions:
+  contents: read
+
 jobs:
   release:
     name: Create Release for esoctl