Skip to content

Update Github CI workflow permission for release actions #1270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
description: 'Release Version Number (Eg, v1.0.0-rc1)'
required: true

# Workflow permissions block
permissions:
contents: write # This grants write access to repository content, including pushing commits/tags and creating releases.

jobs:
tag-commit:
name: Tag commit
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
description: 'Release Version Number (Eg, v1.0.0)'
required: true

# Workflow permissions block
permissions:
contents: write # This grants write access to repository content, including pushing commits/tags and creating releases.

jobs:
tag-commit:
name: Tag commit
Expand Down
Loading