From 822351b8d9edb4e8a15139fd139a8a6a279e9f7a Mon Sep 17 00:00:00 2001
From: itsscb <dev@itsscb.de>
Date: Wed, 28 Aug 2024 10:35:46 +0200
Subject: [PATCH] feat(workflow): adds permissions

---
 .github/workflows/prod.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml
index 4e8ea83..2506f73 100644
--- a/.github/workflows/prod.yml
+++ b/.github/workflows/prod.yml
@@ -3,6 +3,10 @@ on:
     branches:
       - master
 
+permissions:
+  contents: write
+  issues: read
+
 jobs:
   build:
     runs-on: ubuntu-latest
@@ -49,7 +53,7 @@ jobs:
 
       - name: Commit Frontend Release Build
         run: |
-          git config --global user.name "itsscb"
+          git config --global user.name "GitHub Action"
           git config --global user.email "dev@itsscb.de"
           git add -A
           git commit -m "release: frontend"