From 770d2659f87994bd9c15f3afbeee8b795858d50d Mon Sep 17 00:00:00 2001 From: Severin Neumann <neumanns@cisco.com> Date: Tue, 17 Dec 2024 12:33:39 +0100 Subject: [PATCH] Update tag-from-version.yml --- .github/workflows/tag-from-version.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag-from-version.yml b/.github/workflows/tag-from-version.yml index cdc850e..e2dfea8 100644 --- a/.github/workflows/tag-from-version.yml +++ b/.github/workflows/tag-from-version.yml @@ -12,6 +12,8 @@ on: jobs: create_tag: runs-on: ubuntu-24.04 + permissions: + contents: write steps: # Checkout the repository - name: Checkout repository @@ -36,6 +38,5 @@ jobs: run: | git config user.name cisco-service git config user.email 111539563+cisco-service@users.noreply.github.com - git remote set-url origin https://${GH_TOKEN}@github.com/${{ github.repository }} git tag $version - git push origin $version \ No newline at end of file + git push origin $version