From abbb4f0f45e4d42f36faa5e21f02d2a0d35c6b80 Mon Sep 17 00:00:00 2001
From: Salima Hassouni <salima.hassouni@capgemini.com>
Date: Sat, 13 Apr 2024 18:51:25 +0000
Subject: [PATCH] OPS-6298-Fix Senver generation

---
 .github/workflows/auto-tag-release.yaml | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/auto-tag-release.yaml b/.github/workflows/auto-tag-release.yaml
index 4e3b747..0103a24 100644
--- a/.github/workflows/auto-tag-release.yaml
+++ b/.github/workflows/auto-tag-release.yaml
@@ -4,6 +4,9 @@ on:
   push:
     tags:
       - '*.*.*'
+      
+permissions:
+  contents: write
 
 jobs:
   update-semver-tags:
@@ -12,15 +15,8 @@ jobs:
       - name: Checkout
         uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
       
-      - name: Setup node
-        uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d #v3.8.1
-        with:
-          node-version: ${{ env.NODE_VERSION }}
-      
       - name: Update Semver
         uses: rickstaa/action-update-semver@77e8cb0f3cd805b38ffe25c07236336e05dcb4da #v1.1.4
         with:
           github_token: ${{ secrets.GITHUB_TOKEN }}
-          major_version_tag_only: false
-        env:
-          github-token: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
+          major_version_tag_only: false
\ No newline at end of file