From 7e986a57fd9db0f6ce098bef59d88b164d94d68c Mon Sep 17 00:00:00 2001
From: MadeInPierre <pielaclau@gmail.com>
Date: Sat, 13 Jan 2024 17:05:55 +0100
Subject: [PATCH] ci: add permissions for semantic release

---
 .github/workflows/semantic-release.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml
index 41ec049..e3dcb36 100644
--- a/.github/workflows/semantic-release.yml
+++ b/.github/workflows/semantic-release.yml
@@ -55,6 +55,10 @@ jobs:
     needs: pre-commit
     if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, 'chore(release):')
     runs-on: ubuntu-latest
+    permissions:
+      issues: write
+      id-token: write
+      contents: write
     steps:
       - uses: actions/setup-python@v2
         with: