Skip to content

Commit 1038860

Browse files
committed
fix: add contents write permission for git tag push
The changesets action creates and pushes git tags after publishing. The workflow needs contents: write permission to push tags to the repository.
1 parent ec54ecb commit 1038860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
99

1010
permissions:
1111
id-token: write # Required for OIDC trusted publishing
12-
contents: read
12+
contents: write # Required for pushing git tags after publishing
1313

1414
jobs:
1515
release:

0 commit comments

Comments
 (0)