From e2c460ec541fc4caee43203db35d26ef6dc34e16 Mon Sep 17 00:00:00 2001
From: strawberry <strawberry@puppygock.gay>
Date: Wed, 24 Apr 2024 15:34:02 -0400
Subject: [PATCH] ci: define packages permission in publish step

Signed-off-by: strawberry <strawberry@puppygock.gay>
---
 .github/workflows/ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ff848846a..bf822b482 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -166,6 +166,9 @@ jobs:
         runs-on: ubuntu-latest
         needs: build
         if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev'
+        permissions:
+            packages: write
+            contents: read
         steps:
             - name: Download artifacts
               uses: actions/download-artifact@v4
-- 
GitLab