From 14501b4e5d6f67d787f28541a75fc423226489c4 Mon Sep 17 00:00:00 2001
From: Joseph Makar <joseph.makar@sentinelone.com>
Date: Thu, 4 Aug 2022 09:10:30 -0400
Subject: [PATCH] Minor GHA release fix

---
 .github/workflows/release.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 08279fe..dad0c61 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -4,8 +4,9 @@ on:
     tags:
       - "[0-9]+.[0-9]+.[0-9]+"
 permissions:
-  contents: read
-  contents: write  # neededed for gh-release action - https://stackoverflow.com/a/69941765
+  contents:
+    - read
+    - write  # Needed to create a draft release (https://stackoverflow.com/a/69941765)
 jobs:
   release:
     runs-on: ubuntu-latest