Skip to content

Commit f62f536

Browse files
authored
Update tag-from-version.yml (#41)
1 parent 73d3a57 commit f62f536

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tag-from-version.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
create_tag:
1414
runs-on: ubuntu-24.04
15+
permissions:
16+
contents: write
1517
steps:
1618
# Checkout the repository
1719
- name: Checkout repository
@@ -36,6 +38,5 @@ jobs:
3638
run: |
3739
git config user.name cisco-service
3840
git config user.email 111539563+cisco-service@users.noreply.github.com
39-
git remote set-url origin https://${GH_TOKEN}@github.com/${{ github.repository }}
4041
git tag $version
41-
git push origin $version
42+
git push origin $version

0 commit comments

Comments
 (0)