Skip to content

Commit cda22ce

Browse files
fix: fixing workflow autotag majors (#3)
2 parents 8d00517 + a097f52 commit cda22ce

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release-new-version.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,18 @@ on:
1515

1616
env:
1717
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
18-
permissions:
19-
contents: write
2018

2119
jobs:
2220
update_tag:
2321
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
2422
runs-on: ubuntu-latest
2523
environment: deploy
24+
permissions:
25+
contents: write
2626
steps:
27+
- uses: actions/checkout@v3
2728
- name: Update the ${{ env.TAG_NAME }} tag
28-
uses: actions/[email protected]
29+
id: update-major-tag
30+
uses: actions/[email protected]
2931
with:
3032
source-tag: ${{ env.TAG_NAME }}

0 commit comments

Comments
 (0)