Skip to content

Commit cecf0f1

Browse files
committed
fix: add contents:write permission to release workflow
The release workflow needs explicit contents:write permission to force-push the v4 major version tag. Without this permission, the v4 tag is not updated when new releases are published, causing users calling @v4 to get outdated versions. This fixes the issue where v4.10.0 was released but the v4 tag was not updated, leaving users on @v4 stuck with Node 20 instead of Node 24. Relates to: JA-20235 Made-with: Cursor
1 parent 86dacb6 commit cecf0f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
release:
44
types: [published]
55

6+
permissions:
7+
contents: write
8+
69
jobs:
710
release:
811
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)