Skip to content

Commit 4b5f938

Browse files
Update permission for release actions (#1270)
1 parent 68c777b commit 4b5f938

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release-candidate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
description: 'Release Version Number (Eg, v1.0.0-rc1)'
1111
required: true
1212

13+
# Workflow permissions block
14+
permissions:
15+
contents: write # This grants write access to repository content, including pushing commits/tags and creating releases.
16+
1317
jobs:
1418
tag-commit:
1519
name: Tag commit

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
description: 'Release Version Number (Eg, v1.0.0)'
1111
required: true
1212

13+
# Workflow permissions block
14+
permissions:
15+
contents: write # This grants write access to repository content, including pushing commits/tags and creating releases.
16+
1317
jobs:
1418
tag-commit:
1519
name: Tag commit

0 commit comments

Comments
 (0)